Package | Description |
---|---|
org.springframework.http.server |
Contains an abstraction over server-side HTTP.
|
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.reactive.handler |
Provides HandlerMapping implementations including abstract base classes.
|
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.servlet.mvc |
Standard controller implementations for the Servlet MVC framework that comes with
Spring.
|
org.springframework.web.util.pattern |
Dedicated support for matching HTTP request paths.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RequestPath
Specialization of
PathContainer that subdivides the path into a
RequestPath.contextPath() and the remaining RequestPath.pathWithinApplication() . |
Modifier and Type | Method and Description |
---|---|
PathContainer |
RequestPath.contextPath()
Returns the portion of the URL path that represents the application.
|
static PathContainer |
PathContainer.parsePath(String path)
|
static PathContainer |
PathContainer.parsePath(String path,
PathContainer.Options options)
Parse the path value into a sequence of
Separator and
PathSegment elements. |
PathContainer |
RequestPath.pathWithinApplication()
The portion of the request path after the context path which is typically
used for request mapping within the application .
|
default PathContainer |
PathContainer.subPath(int index)
Extract a sub-path from the given offset into the elements list.
|
default PathContainer |
PathContainer.subPath(int startIndex,
int endIndex)
Extract a sub-path from the given start offset into the element list
(inclusive) and to the end offset (exclusive).
|
Modifier and Type | Method and Description |
---|---|
default PathContainer |
ServerRequest.pathContainer()
Deprecated.
as of 5.3, in favor on
ServerRequest.requestPath() |
Modifier and Type | Method and Description |
---|---|
PathContainer |
ServerRequestWrapper.pathContainer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
AbstractUrlHandlerMapping.lookupHandler(PathContainer lookupPath,
ServerWebExchange exchange)
Look up a handler instance for the given URL lookup path.
|
Modifier and Type | Method and Description |
---|---|
default PathContainer |
ServerRequest.pathContainer()
Deprecated.
as of 5.3, in favor on
ServerRequest.requestPath() |
Constructor and Description |
---|
RequestMatchResult(PathPattern pathPattern,
PathContainer lookupPath)
Create an instance with the matched
PathPattern . |
Modifier and Type | Method and Description |
---|---|
protected CacheControl |
WebContentInterceptor.lookupCacheControl(PathContainer path)
Find a
CacheControl instance for the
given parsed path . |
protected Integer |
WebContentInterceptor.lookupCacheSeconds(PathContainer path)
Find a cacheSeconds value for the given parsed
path . |
Modifier and Type | Method and Description |
---|---|
PathContainer |
PathPattern.extractPathWithinPattern(PathContainer path)
Determine the pattern-mapped part for the given path.
|
PathContainer |
PathPattern.PathRemainingMatchInfo.getPathMatched()
Return the part of a path that was matched by a pattern.
|
PathContainer |
PathPattern.PathRemainingMatchInfo.getPathRemaining()
Return the part of a path that was not matched by a pattern.
|
Modifier and Type | Method and Description |
---|---|
PathContainer |
PathPattern.extractPathWithinPattern(PathContainer path)
Determine the pattern-mapped part for the given path.
|
PathPattern.PathMatchInfo |
PathPattern.matchAndExtract(PathContainer pathContainer)
Match this pattern to the given URI path and return extracted URI template
variables as well as path parameters (matrix variables).
|
boolean |
PathPattern.matches(PathContainer pathContainer)
Whether this pattern matches the given path.
|
PathPattern.PathRemainingMatchInfo |
PathPattern.matchStartOfPath(PathContainer pathContainer)
Match the beginning of the given path and return the remaining portion
not covered by this pattern.
|