Class AcceleratorUrlPathHelper


  • public class AcceleratorUrlPathHelper
    extends org.springframework.web.util.UrlPathHelper
    This implementation overrides the default implementation of Spring framework's UrlPathHelper so that context path and servlet mapping tricks Spring MVC as if UrlEncoding is not present.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContextPath​(javax.servlet.http.HttpServletRequest request)  
      java.lang.String getPathWithinServletMapping​(javax.servlet.http.HttpServletRequest request)  
      • Methods inherited from class org.springframework.web.util.UrlPathHelper

        decodeMatrixVariables, decodePathVariables, decodeRequestString, determineEncoding, getDefaultEncoding, getLookupPathForRequest, getOriginatingContextPath, getOriginatingQueryString, getOriginatingRequestUri, getOriginatingServletPath, getPathWithinApplication, getRequestUri, getServletPath, isUrlDecode, removeSemicolonContent, setAlwaysUseFullPath, setDefaultEncoding, setRemoveSemicolonContent, setUrlDecode, shouldRemoveSemicolonContent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AcceleratorUrlPathHelper

        public AcceleratorUrlPathHelper()
    • Method Detail

      • getContextPath

        public java.lang.String getContextPath​(javax.servlet.http.HttpServletRequest request)
        Overrides:
        getContextPath in class org.springframework.web.util.UrlPathHelper
      • getPathWithinServletMapping

        public java.lang.String getPathWithinServletMapping​(javax.servlet.http.HttpServletRequest request)
        Overrides:
        getPathWithinServletMapping in class org.springframework.web.util.UrlPathHelper