Example usage for Java org.springframework.web.util UrlPathHelper fields, constructors, methods, implement or subclass
The text is from its open source code.
String | decodeRequestString(HttpServletRequest request, String source) Decode the given source string with a URLDecoder. |
String | getContextPath(HttpServletRequest request) Return the context path for the given request, detecting an include request URL if called within a RequestDispatcher include. |
String | getLookupPathForRequest(HttpServletRequest request) Return the mapping lookup path for the given request, within the current servlet mapping if applicable, else within the web application. |
String | getOriginatingContextPath(HttpServletRequest request) Return the context path for the given request, detecting an include request URL if called within a RequestDispatcher include. |
String | getOriginatingQueryString(HttpServletRequest request) Return the query string part of the given request's URL. |
String | getOriginatingRequestUri(HttpServletRequest request) Return the request URI for the given request. |
String | getOriginatingServletPath(HttpServletRequest request) Return the servlet path for the given request, detecting an include request URL if called within a RequestDispatcher include. |
String | getPathWithinApplication(HttpServletRequest request) Return the path within the web application for the given request. |
String | getPathWithinServletMapping(HttpServletRequest request) Return the path within the servlet mapping for the given request, i.e. |
String | getRequestUri(HttpServletRequest request) Return the request URI for the given request, detecting an include request URL if called within a RequestDispatcher include. |
String | getServletPath(HttpServletRequest request) Return the servlet path for the given request, regarding an include request URL if called within a RequestDispatcher include. |
void | setAlwaysUseFullPath(boolean alwaysUseFullPath) Whether URL lookups should always use the full path within the current web application context, i.e. |
void | setRemoveSemicolonContent(boolean removeSemicolonContent) Set if ";" (semicolon) content should be stripped from the request URI. |
void | setUrlDecode(boolean urlDecode) Whether the context path and request URI should be decoded -- both of which are returned undecoded by the Servlet API, in contrast to the servlet path. |