Class CanonicalHttpServletRequest

    • Constructor Detail

      • CanonicalHttpServletRequest

        public CanonicalHttpServletRequest​(javax.servlet.http.HttpServletRequest request)
    • Method Detail

      • getRelativePath

        public String getRelativePath()
        Description copied from interface: CanonicalHttpRequest
        The part of an absolute URL that is after the protocol, server, port and context (i.e. base) path. E.g. "/the_path" in "http://server:80/context/the_path?param=value" where "/context" is the context path.
        Specified by:
        getRelativePath in interface CanonicalHttpRequest
        Returns:
        the relative path with no case manipulation.