Uses of Interface
org.springframework.http.server.PathContainer
Packages that use PathContainer
Package
Description
Contains an abstraction over server-side HTTP.
Provides the types that make up Spring's functional web framework for Reactive environments.
Classes supporting the
org.springframework.web.reactive.function.server
package.Provides HandlerMapping implementations including abstract base classes.
Provides the types that make up Spring's functional web framework for Servlet environments.
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
Standard controller implementations for the Servlet MVC framework that comes with
Spring.
Dedicated support for matching HTTP request paths.
-
Uses of PathContainer in org.springframework.http.server
Subinterfaces of PathContainer in org.springframework.http.serverModifier and TypeInterfaceDescriptioninterface
Specialization ofPathContainer
that subdivides the path into aRequestPath.contextPath()
and the remainingRequestPath.pathWithinApplication()
.Methods in org.springframework.http.server that return PathContainerModifier and TypeMethodDescriptionRequestPath.contextPath()
Returns the portion of the URL path that represents the application.static PathContainer
static PathContainer
PathContainer.parsePath
(String path, PathContainer.Options options) Parse the path value into a sequence ofSeparator
andPathSegment
elements.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). -
Uses of PathContainer in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server that return PathContainerModifier and TypeMethodDescriptiondefault PathContainer
ServerRequest.pathContainer()
Deprecated. -
Uses of PathContainer in org.springframework.web.reactive.function.server.support
Methods in org.springframework.web.reactive.function.server.support that return PathContainer -
Uses of PathContainer in org.springframework.web.reactive.handler
Methods in org.springframework.web.reactive.handler with parameters of type PathContainerModifier and TypeMethodDescriptionprotected Object
AbstractUrlHandlerMapping.lookupHandler
(PathContainer lookupPath, ServerWebExchange exchange) Look up a handler instance for the given URL lookup path. -
Uses of PathContainer in org.springframework.web.servlet.function
Methods in org.springframework.web.servlet.function that return PathContainerModifier and TypeMethodDescriptiondefault PathContainer
ServerRequest.pathContainer()
Deprecated.as of 5.3, in favor onServerRequest.requestPath()
-
Uses of PathContainer in org.springframework.web.servlet.handler
Constructors in org.springframework.web.servlet.handler with parameters of type PathContainerModifierConstructorDescriptionRequestMatchResult
(PathPattern pathPattern, PathContainer lookupPath) Create an instance with the matchedPathPattern
. -
Uses of PathContainer in org.springframework.web.servlet.mvc
Methods in org.springframework.web.servlet.mvc with parameters of type PathContainerModifier and TypeMethodDescriptionprotected CacheControl
WebContentInterceptor.lookupCacheControl
(PathContainer path) Find aCacheControl
instance for the given parsedpath
.protected Integer
WebContentInterceptor.lookupCacheSeconds
(PathContainer path) Find a cacheSeconds value for the given parsedpath
. -
Uses of PathContainer in org.springframework.web.util.pattern
Methods in org.springframework.web.util.pattern that return PathContainerModifier and TypeMethodDescriptionPathPattern.extractPathWithinPattern
(PathContainer path) Determine the pattern-mapped part for the given path.PathPattern.PathRemainingMatchInfo.getPathMatched()
Return the part of a path that was matched by a pattern.PathPattern.PathRemainingMatchInfo.getPathRemaining()
Return the part of a path that was not matched by a pattern.Methods in org.springframework.web.util.pattern with parameters of type PathContainerModifier and TypeMethodDescriptionPathPattern.extractPathWithinPattern
(PathContainer path) Determine the pattern-mapped part for the given path.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.matchStartOfPath
(PathContainer pathContainer) Match the beginning of the given path and return the remaining portion not covered by this pattern.
ServerRequest.requestPath()