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
 String getAbsUrlWithUpdatedParams(javax.servlet.http.HttpServletRequest request, String[] names, String[] newValues, String[] removePatterns, boolean escapeAmpersand)
          Method to implement to override default behavior of ServletUtil.getAbsUrlWithUpdatedParams(HttpServletRequest, String[], String[], String[], boolean) Return null to cause ServletUtil to use its default behavior.
 String getUrl(javax.servlet.http.HttpServletRequest request, boolean escapeAmpersand)
          Method to implement to override default behavior of ServletUtil.getUrl(HttpServletRequest, boolean) Return null to cause ServletUtil to use its default behavior.
 String getUrlWithAddedParam(javax.servlet.http.HttpServletRequest request, String name, String value, boolean escapeAmpersand)
          Method to implement to override default behavior of ServletUtil.getUrlWithAddedParam(HttpServletRequest, String, String, boolean) Return null to cause ServletUtil to use its default behavior.
 String getUrlWithUpdatedParams(javax.servlet.http.HttpServletRequest request, String[] names, String[] newValues, String[] removePatterns, boolean escapeAmpersand)
          Method to implement to override default behavior of ServletUtil.getUrlWithUpdatedParams(HttpServletRequest, String[], String[], String[], boolean) Return null to cause ServletUtil to use its default behavior.
 String getUrlWithUpdatedParams(String resourcePath, Map parameterMap, String[] names, String[] newValues, String[] removePatterns, boolean escapeAmpersand)
          Method to implement to override default behavior of ServletUtil.getUrlWithUpdatedParams(String, Map, String[], String[], String[], boolean) Return null to cause ServletUtil to use its default behavior.
 

Method Detail

getUrlWithUpdatedParams

String getUrlWithUpdatedParams(javax.servlet.http.HttpServletRequest request,
                               String[] names,
                               String[] newValues,
                               String[] removePatterns,
                               boolean escapeAmpersand)
Method to implement to override default behavior of ServletUtil.getUrlWithUpdatedParams(HttpServletRequest, String[], String[], String[], boolean) Return null to cause ServletUtil to use its default behavior.

Since:
jcms-5.7

getAbsUrlWithUpdatedParams

String getAbsUrlWithUpdatedParams(javax.servlet.http.HttpServletRequest request,
                                  String[] names,
                                  String[] newValues,
                                  String[] removePatterns,
                                  boolean escapeAmpersand)
Method to implement to override default behavior of ServletUtil.getAbsUrlWithUpdatedParams(HttpServletRequest, String[], String[], String[], boolean) Return null to cause ServletUtil to use its default behavior.

Since:
jcms-5.7

getUrlWithAddedParam

String getUrlWithAddedParam(javax.servlet.http.HttpServletRequest request,
                            String name,
                            String value,
                            boolean escapeAmpersand)
Method to implement to override default behavior of ServletUtil.getUrlWithAddedParam(HttpServletRequest, String, String, boolean) Return null to cause ServletUtil to use its default behavior.

Since:
jcms-5.7

getUrl

String getUrl(javax.servlet.http.HttpServletRequest request,
              boolean escapeAmpersand)
Method to implement to override default behavior of ServletUtil.getUrl(HttpServletRequest, boolean) Return null to cause ServletUtil to use its default behavior.

Since:
jcms-5.7

getUrlWithUpdatedParams

String getUrlWithUpdatedParams(String resourcePath,
                               Map parameterMap,
                               String[] names,
                               String[] newValues,
                               String[] removePatterns,
                               boolean escapeAmpersand)
Method to implement to override default behavior of ServletUtil.getUrlWithUpdatedParams(String, Map, String[], String[], String[], boolean) Return null to cause ServletUtil to use its default behavior.

Since:
jcms-5.7


Copyright © 2001-2010 Jalios SA. All Rights Reserved.