Class GrailsUrlPathHelper


  • public class GrailsUrlPathHelper
    extends org.springframework.web.util.UrlPathHelper
    Extends the default Spring UrlPathHelper and makes methods Grails path aware.
    Since:
    0.5
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String GRAILS_DISPATCH_EXTENSION  
      static java.lang.String GRAILS_SERVLET_PATH  
      • Fields inherited from class org.springframework.web.util.UrlPathHelper

        defaultInstance, PATH_ATTRIBUTE, rawPathInstance
    • Method Summary

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

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

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

      • GRAILS_DISPATCH_EXTENSION

        public static final java.lang.String GRAILS_DISPATCH_EXTENSION
        See Also:
        Constant Field Values
      • GRAILS_SERVLET_PATH

        public static final java.lang.String GRAILS_SERVLET_PATH
        See Also:
        Constant Field Values
    • Constructor Detail

      • GrailsUrlPathHelper

        public GrailsUrlPathHelper()
    • Method Detail

      • getPathWithinApplication

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