| java.lang.Object com.opensymphony.webwork.views.util.UrlHelper
UrlHelper | public class UrlHelper (Code) | | UrlHelper
author: Jason Carreira Created Apr 19, 2003 9:32:19 PM author: tm_jee |
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) Build url based on arguments supplied, will include context path but does
not encode result (append jsessionid). | public static String | buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params, String scheme, boolean includeContext, boolean encodeResult) Build url based on arguments supplied, will not include schema, host and
port in the created url. | public static String | buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort) Build url based on arguments supplied, will escape ampersand. | public static String | buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort, boolean escapeAmp) Build url based on arguments supplied. | public static Map | parseQueryString(String queryString) | public static String | translateAndDecode(String input) | public static String | translateAndEncode(String input) Translates any script expressions using
com.opensymphony.xwork.util.TextParseUtil.translateVariables and
encodes the URL using
java.net.URLEncoder.encode with the encoding specified in the configuration. |
buildUrl | public static String buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params)(Code) | | Build url based on arguments supplied, will include context path but does
not encode result (append jsessionid).
Parameters: action - Parameters: request - Parameters: response - Parameters: params - the build url |
buildUrl | public static String buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params, String scheme, boolean includeContext, boolean encodeResult)(Code) | | Build url based on arguments supplied, will not include schema, host and
port in the created url.
Parameters: action - Parameters: request - Parameters: response - Parameters: params - Parameters: scheme - Parameters: includeContext - Parameters: encodeResult - the build url |
buildUrl | public static String buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort)(Code) | | Build url based on arguments supplied, will escape ampersand.
Parameters: action - Parameters: request - Parameters: response - Parameters: params - Parameters: scheme - Parameters: includeContext - Parameters: encodeResult - Parameters: forceAddSchemeHostAndPort - the build url |
buildUrl | public static String buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort, boolean escapeAmp)(Code) | | Build url based on arguments supplied.
Parameters: action - Parameters: request - Parameters: response - Parameters: params - Parameters: scheme - Parameters: includeContext - Parameters: encodeResult - Parameters: forceAddSchemeHostAndPort - Parameters: escapeAmp - the build url |
parseQueryString | public static Map parseQueryString(String queryString)(Code) | | |
|
|