Package com.jalios.util
Interface ServletUtil.ServletUtilAlternate
-
- Enclosing class:
- ServletUtil
public static interface ServletUtil.ServletUtilAlternate
This interface is used internally by JCMS to provide custom behavior of ServletUtil and should not be used elsewhere.- Since:
- jcms-5.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAbsUrlWithUpdatedParams(javax.servlet.http.HttpServletRequest request, java.lang.String[] names, java.lang.String[] newValues, java.lang.String[] removePatterns, boolean escapeAmpersand)
Method to implement to override default behavior ofServletUtil.getAbsUrlWithUpdatedParams(HttpServletRequest, String[], String[], String[], boolean)
Return null to cause ServletUtil to use its default behavior.java.lang.String
getUrl(javax.servlet.http.HttpServletRequest request, boolean escapeAmpersand)
Method to implement to override default behavior ofServletUtil.getUrl(HttpServletRequest, boolean)
Return null to cause ServletUtil to use its default behavior.java.lang.String
getUrlWithAddedParam(javax.servlet.http.HttpServletRequest request, java.lang.String name, java.lang.String value, boolean escapeAmpersand)
Method to implement to override default behavior ofServletUtil.getUrlWithAddedParam(HttpServletRequest, String, String, boolean)
Return null to cause ServletUtil to use its default behavior.java.lang.String
getUrlWithUpdatedParams(java.lang.String resourcePath, java.util.Map parameterMap, java.lang.String[] names, java.lang.String[] newValues, java.lang.String[] removePatterns, boolean escapeAmpersand)
Method to implement to override default behavior ofServletUtil.getUrlWithUpdatedParams(String, Map, String[], String[], String[], boolean)
Return null to cause ServletUtil to use its default behavior.java.lang.String
getUrlWithUpdatedParams(javax.servlet.http.HttpServletRequest request, java.lang.String[] names, java.lang.String[] newValues, java.lang.String[] removePatterns, boolean escapeAmpersand)
Method to implement to override default behavior ofServletUtil.getUrlWithUpdatedParams(HttpServletRequest, String[], String[], String[], boolean)
Return null to cause ServletUtil to use its default behavior.
-
-
-
Method Detail
-
getUrlWithUpdatedParams
java.lang.String getUrlWithUpdatedParams(javax.servlet.http.HttpServletRequest request, java.lang.String[] names, java.lang.String[] newValues, java.lang.String[] removePatterns, boolean escapeAmpersand)
Method to implement to override default behavior ofServletUtil.getUrlWithUpdatedParams(HttpServletRequest, String[], String[], String[], boolean)
Return null to cause ServletUtil to use its default behavior.- Since:
- jcms-5.7
-
getAbsUrlWithUpdatedParams
java.lang.String getAbsUrlWithUpdatedParams(javax.servlet.http.HttpServletRequest request, java.lang.String[] names, java.lang.String[] newValues, java.lang.String[] removePatterns, boolean escapeAmpersand)
Method to implement to override default behavior ofServletUtil.getAbsUrlWithUpdatedParams(HttpServletRequest, String[], String[], String[], boolean)
Return null to cause ServletUtil to use its default behavior.- Since:
- jcms-5.7
-
getUrlWithAddedParam
java.lang.String getUrlWithAddedParam(javax.servlet.http.HttpServletRequest request, java.lang.String name, java.lang.String value, boolean escapeAmpersand)
Method to implement to override default behavior ofServletUtil.getUrlWithAddedParam(HttpServletRequest, String, String, boolean)
Return null to cause ServletUtil to use its default behavior.- Since:
- jcms-5.7
-
getUrl
java.lang.String getUrl(javax.servlet.http.HttpServletRequest request, boolean escapeAmpersand)
Method to implement to override default behavior ofServletUtil.getUrl(HttpServletRequest, boolean)
Return null to cause ServletUtil to use its default behavior.- Since:
- jcms-5.7
-
getUrlWithUpdatedParams
java.lang.String getUrlWithUpdatedParams(java.lang.String resourcePath, java.util.Map parameterMap, java.lang.String[] names, java.lang.String[] newValues, java.lang.String[] removePatterns, boolean escapeAmpersand)
Method to implement to override default behavior ofServletUtil.getUrlWithUpdatedParams(String, Map, String[], String[], String[], boolean)
Return null to cause ServletUtil to use its default behavior.- Since:
- jcms-5.7
-
-