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.mock.web.reactive.function.server |
Mock objects for the functional web framework.
|
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework for Reactive environments.
|
org.springframework.web.reactive.function.server.support |
Classes supporting the
org.springframework.web.reactive.function.server package. |
org.springframework.web.servlet.function |
Provides the types that make up Spring's functional web framework for Servlet environments.
|
org.springframework.web.servlet.handler |
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
|
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 |
ServerHttpRequest.getPath()
Returns a structured representation of the full request path up to but
not including the
query . |
RequestPath |
AbstractServerHttpRequest.getPath() |
RequestPath |
ServerHttpRequestDecorator.getPath() |
Modifier and Type | Method and Description |
---|---|
RequestPath |
MockServerRequest.requestPath() |
Modifier and Type | Method and Description |
---|---|
default RequestPath |
ServerRequest.requestPath()
Get the request path as a
PathContainer . |
Modifier and Type | Method and Description |
---|---|
RequestPath |
ServerRequestWrapper.requestPath() |
Modifier and Type | Method and Description |
---|---|
default RequestPath |
ServerRequest.requestPath()
Get the request path as a
PathContainer . |
Modifier and Type | Method and Description |
---|---|
protected Object |
AbstractUrlHandlerMapping.lookupHandler(RequestPath path,
String lookupPath,
HttpServletRequest request)
Look up a handler instance for the given URL path.
|
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 to a
RequestPath and save it in the request attribute
ServletRequestPathUtils.PATH_ATTRIBUTE for subsequent use with
parsed patterns . |
Modifier and Type | Method and Description |
---|---|
static void |
ServletRequestPathUtils.setParsedRequestPath(RequestPath requestPath,
ServletRequest request)
Set the cached, parsed
RequestPath to the given value. |