Package | Description |
---|---|
org.springframework.http.server |
Contains an abstraction over server-side HTTP.
|
org.springframework.http.server.reactive |
Abstractions for reactive HTTP server support including a
ServerHttpRequest and
ServerHttpResponse along with an
HttpHandler for processing. |
org.springframework.web.util |
Miscellaneous web utility classes, such as HTML escaping,
Log4j initialization, and cookie handling.
|
Modifier and Type | Method and Description |
---|---|
RequestPath |
RequestPath.modifyContextPath(String contextPath)
Return a new
RequestPath instance with a modified context path. |
static RequestPath |
RequestPath.parse(String rawPath,
String contextPath)
Variant of
parse(URI, String) with the encoded
raw path . |
static RequestPath |
RequestPath.parse(URI uri,
String contextPath)
Parse the URI for a request into a
RequestPath . |
Modifier and Type | Method and Description |
---|---|
RequestPath |
ServerHttpRequestDecorator.getPath() |
RequestPath |
ServerHttpRequest.getPath()
Returns a structured representation of the request path including the
context path + path within application portions, path segments with
encoded and decoded values, and path parameters.
|
RequestPath |
AbstractServerHttpRequest.getPath() |
Modifier and Type | Method and Description |
---|---|
static RequestPath |
ServletRequestPathUtils.getParsedRequestPath(ServletRequest request)
Return a
previously parsed and cached RequestPath . |
static RequestPath |
ServletRequestPathUtils.parseAndCache(HttpServletRequest request)
Parse the
requestURI of the
request and its contextPath to create a RequestPath and
cache it in the request attribute ServletRequestPathUtils.PATH_ATTRIBUTE . |