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 Detail

      • 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 of ServletUtil.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 of ServletUtil.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 of ServletUtil.getUrlWithUpdatedParams(String, Map, String[], String[], String[], boolean) Return null to cause ServletUtil to use its default behavior.
        Since:
        jcms-5.7