public final class BootstrapUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getBaseDirectory() |
static String |
getLogo()
Retrieves the logo from the logo file and returns the string
|
static String |
getPackageName(String packageName)
Checks that a given package name ends with an .
|
static RouteType |
getRouteType(String method)
Retrieves a RouteType enum based on a given method string
|
static String |
getVersion()
Retrieves the current version of the framework from the version.properties file
|
static boolean |
hasAuthentication(String mapping)
Checks if a given mapping URL contains an authentication directive
|
static boolean |
hasBlocking(String mapping)
Checks if a given mapping URL contains a blocking directive
|
public static RouteType getRouteType(String method)
method - The method to checkpublic static boolean hasBlocking(String mapping)
mapping - The mapping to checkpublic static boolean hasAuthentication(String mapping)
mapping - The mapping to checkpublic static String getVersion()
public static String getLogo()
public static String getPackageName(String packageName)
packageName - The package name to checkpublic static String getBaseDirectory()
Copyright © 2016. All rights reserved.