| java.lang.Object org.apache.struts2.views.util.UrlHelper
UrlHelper | public class UrlHelper (Code) | | UrlHelper
|
Method Summary | |
public static void | buildParametersString(Map params, StringBuffer link) | public static void | buildParametersString(Map params, StringBuffer link, String paramSeparator) | public static String | buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params) | public static String | buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params, String scheme, boolean includeContext, boolean encodeResult) | public static String | buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort) | public static String | buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort, boolean escapeAmp) | public static Map | parseQueryString(String queryString) | public static void | setCustomEncoding(String val) | public static void | setHttpPort(String val) | public static void | setHttpsPort(String val) | public static String | translateAndDecode(String input) | public static String | translateAndEncode(String input) Translates any script expressions using
com.opensymphony.xwork2.util.TextParseUtil.translateVariables and
encodes the URL using
java.net.URLEncoder.encode with the encoding specified in the configuration. |
parseQueryString | public static Map parseQueryString(String queryString)(Code) | | |
setCustomEncoding | public static void setCustomEncoding(String val)(Code) | | |
setHttpsPort | public static void setHttpsPort(String val)(Code) | | |
translateAndEncode | public static String translateAndEncode(String input)(Code) | | Translates any script expressions using
com.opensymphony.xwork2.util.TextParseUtil.translateVariables and
encodes the URL using
java.net.URLEncoder.encode with the encoding specified in the configuration.
Parameters: input - the translated and encoded string |
|
|