public class UrlUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FULL_DOMAIN |
static String |
HTTP_CONTEXT_PATH_PROPERTY |
static String |
HTTP_REQUEST_PATH_PROPERTY |
| Modifier and Type | Method and Description |
|---|---|
static String |
encode(String url) |
static String |
getBasePath(String baseAndApiPath,
String requestPath) |
static String |
getBaseUriReplacement(String apiServer) |
static String |
getCompletePathFromBasePathAndPath(String basePath,
String listenerPath) |
static String |
getListenerPath(String listenerPath,
String requestPath) |
static String |
getRedirectLocation(String scheme,
String remoteAddress,
String requestPath,
String queryString)
Creates URL where the server must redirect the client
|
static String |
getRelativePath(String baseAndApiPath,
String requestPath) |
static String |
replaceBaseUri(String raml,
String newBaseUri) |
public static final String HTTP_CONTEXT_PATH_PROPERTY
public static final String HTTP_REQUEST_PATH_PROPERTY
public static final String FULL_DOMAIN
public static String getCompletePathFromBasePathAndPath(String basePath, String listenerPath)
public static String getRedirectLocation(String scheme, String remoteAddress, String requestPath, String queryString)
Copyright © 2019. All rights reserved.