Class AcceleratorUrlPathHelper

java.lang.Object
org.springframework.web.util.UrlPathHelper
de.hybris.platform.yacceleratorstorefront.web.mvc.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.
  • Field Summary

    Fields inherited from class org.springframework.web.util.UrlPathHelper

    defaultInstance, PATH_ATTRIBUTE, rawPathInstance
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getContextPath(javax.servlet.http.HttpServletRequest request)
     
    getLookupPathForRequest(javax.servlet.http.HttpServletRequest request)
     
    getPathWithinServletMapping(javax.servlet.http.HttpServletRequest request)
     
    void
    setAlwaysUseFullPath(boolean alwaysUseFullPath)
     

    Methods inherited from class org.springframework.web.util.UrlPathHelper

    decodeMatrixVariables, decodePathVariables, decodeRequestString, determineEncoding, getDefaultEncoding, getLookupPathForRequest, getOriginatingContextPath, getOriginatingQueryString, getOriginatingRequestUri, getOriginatingServletPath, getPathWithinApplication, getPathWithinServletMapping, getRequestUri, getResolvedLookupPath, getServletPath, isUrlDecode, removeSemicolonContent, resolveAndCacheLookupPath, setDefaultEncoding, setRemoveSemicolonContent, setUrlDecode, shouldRemoveSemicolonContent

    Methods inherited from class java.lang.Object

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

    • AcceleratorUrlPathHelper

      public AcceleratorUrlPathHelper()
  • Method Details

    • getContextPath

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

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

      public String getLookupPathForRequest(javax.servlet.http.HttpServletRequest request)
      Overrides:
      getLookupPathForRequest in class org.springframework.web.util.UrlPathHelper
    • setAlwaysUseFullPath

      public void setAlwaysUseFullPath(boolean alwaysUseFullPath)
      Overrides:
      setAlwaysUseFullPath in class org.springframework.web.util.UrlPathHelper