Class UrlPathHelper
java.lang.Object
org.springframework.web.util.UrlPathHelper
org.springframework.extensions.webscripts.UrlPathHelper
public class UrlPathHelper
extends org.springframework.web.util.UrlPathHelper
Overrides the SpringMVC default UrlPathHelper class to disable the use of the
"clean" method which incorrectly removes everything from the URI path after
the ; semi-colon character - as after decoding the URI this could well be a valid
part of the URI path or a url argument.
- Author:
- Kevin Roast
-
Field Summary
Fields inherited from class org.springframework.web.util.UrlPathHelper
defaultInstance, PATH_ATTRIBUTE, rawPathInstance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOriginatingRequestUri(jakarta.servlet.http.HttpServletRequest request) getRequestUri(jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.springframework.web.util.UrlPathHelper
decodeMatrixVariables, decodePathVariables, decodeRequestString, determineEncoding, getContextPath, getDefaultEncoding, getLookupPathForRequest, getLookupPathForRequest, getOriginatingContextPath, getOriginatingQueryString, getOriginatingServletPath, getPathWithinApplication, getPathWithinServletMapping, getPathWithinServletMapping, getResolvedLookupPath, getServletPath, isUrlDecode, removeSemicolonContent, resolveAndCacheLookupPath, setAlwaysUseFullPath, setDefaultEncoding, setRemoveSemicolonContent, setUrlDecode, shouldRemoveSemicolonContent
-
Constructor Details
-
UrlPathHelper
public UrlPathHelper()
-
-
Method Details
-
getRequestUri
- Overrides:
getRequestUriin classorg.springframework.web.util.UrlPathHelper
-
getOriginatingRequestUri
- Overrides:
getOriginatingRequestUriin classorg.springframework.web.util.UrlPathHelper
-