public interface UrlHelper
Modifier and Type | Field and Description |
---|---|
static String |
AMP |
static int |
DEFAULT_HTTP_PORT
Default HTTP port (80).
|
static int |
DEFAULT_HTTPS_PORT
Default HTTPS port (443).
|
Modifier and Type | Method and Description |
---|---|
void |
buildParametersString(Map<String,Object> params,
StringBuilder link,
String paramSeparator) |
String |
buildUrl(String action,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,Object> params) |
String |
buildUrl(String action,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,Object> params,
String scheme,
boolean includeContext,
boolean encodeResult) |
String |
buildUrl(String action,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,Object> params,
String scheme,
boolean includeContext,
boolean encodeResult,
boolean forceAddSchemeHostAndPort) |
String |
buildUrl(String action,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,Object> params,
String scheme,
boolean includeContext,
boolean encodeResult,
boolean forceAddSchemeHostAndPort,
boolean escapeAmp) |
Map<String,Object> |
parseQueryString(String queryString,
boolean forceValueArray) |
static final int DEFAULT_HTTP_PORT
static final int DEFAULT_HTTPS_PORT
static final String AMP
String buildUrl(String action, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,Object> params)
String buildUrl(String action, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,Object> params, String scheme, boolean includeContext, boolean encodeResult)
String buildUrl(String action, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,Object> params, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort)
String buildUrl(String action, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,Object> params, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort, boolean escapeAmp)
void buildParametersString(Map<String,Object> params, StringBuilder link, String paramSeparator)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.