Package org.apache.struts2.views.util
Class DefaultUrlHelper
java.lang.Object
org.apache.struts2.views.util.DefaultUrlHelper
- All Implemented Interfaces:
UrlHelper
Default implementation of UrlHelper
-
Field Summary
Fields inherited from interface org.apache.struts2.views.util.UrlHelper
AMP, DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildUrl
(String action, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map<String, Object> params) buildUrl
(String action, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map<String, Object> params, String scheme, boolean includeContext, boolean encodeResult) buildUrl
(String action, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map<String, Object> params, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort) buildUrl
(String action, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map<String, Object> params, String urlScheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort, boolean escapeAmp) protected boolean
isValidScheme
(String scheme) void
setHttpPort
(String httpPort) void
setHttpsPort
(String httpsPort) void
setQueryStringBuilder
(QueryStringBuilder builder)
-
Field Details
-
HTTP_PROTOCOL
- See Also:
-
HTTPS_PROTOCOL
- See Also:
-
-
Constructor Details
-
DefaultUrlHelper
public DefaultUrlHelper()
-
-
Method Details
-
setHttpPort
-
setHttpsPort
-
setQueryStringBuilder
-
buildUrl
-
buildUrl
-
buildUrl
-
buildUrl
-
isValidScheme
-