public class UtilLib extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CLOSE_PARENTHESIS |
static String |
REST_NAME_NORMALIZED_NO_PATTERN_MATCH |
static String |
SEMICOLON |
| Constructor and Description |
|---|
UtilLib() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
compareValues(String fromURL,
String fromGRM) |
static String |
concatenateName(String namespace,
String input) |
static String |
dme2UriToLocaldme2Uri(String dme2Uri,
String version,
String envContext,
String routeOffer) |
static XMLGregorianCalendar |
epochToXmlGC(long epoch) |
static String |
getClientApp() |
static String |
getErrorResponseBodyType(String acceptHeader) |
static String |
getFromEndpoint(org.apache.camel.Exchange exchange) |
static String |
getInput(String[] pathinfoArr,
int arrLength,
String componentType,
String pathInfo) |
static String |
getMethod(org.apache.camel.Exchange exchange) |
static String |
getPath(org.apache.camel.Exchange exchange,
String endPoint) |
static javax.servlet.http.HttpServletRequest |
getRequest(org.apache.camel.Exchange exchange,
String endPoint) |
static javax.servlet.http.HttpServletResponse |
getResponse(org.apache.camel.Exchange exchange,
String endPoint) |
static Object |
getResponseEntity(org.apache.camel.Exchange exchange) |
static Long |
getResponseLength(org.apache.camel.Exchange exchange) |
static String |
getServiceName(javax.servlet.http.HttpServletRequest request) |
static String |
getServiceName(String servletPath,
String pathInfo) |
static String |
getStartTimestamp(String epoch) |
static String |
ifNullThenEmpty(String s) |
static boolean |
isNullOrEmpty(String s) |
static String |
jsonpWrapper(String jsonpFunction,
String json) |
static String |
uCaseFirstLetter(String s) |
public static final String CLOSE_PARENTHESIS
public static final String SEMICOLON
public static final String REST_NAME_NORMALIZED_NO_PATTERN_MATCH
public static boolean isNullOrEmpty(String s)
public static XMLGregorianCalendar epochToXmlGC(long epoch)
public static String getClientApp()
public static String dme2UriToLocaldme2Uri(String dme2Uri, String version, String envContext, String routeOffer)
public static String getInput(String[] pathinfoArr, int arrLength, String componentType, String pathInfo)
public static String getServiceName(javax.servlet.http.HttpServletRequest request)
public static javax.servlet.http.HttpServletRequest getRequest(org.apache.camel.Exchange exchange,
String endPoint)
public static javax.servlet.http.HttpServletResponse getResponse(org.apache.camel.Exchange exchange,
String endPoint)
public static Long getResponseLength(org.apache.camel.Exchange exchange)
public static Object getResponseEntity(org.apache.camel.Exchange exchange)
public static String getMethod(org.apache.camel.Exchange exchange)
public static String getFromEndpoint(org.apache.camel.Exchange exchange)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.