接口的使用
org.springframework.http.server.PathContainer
使用PathContainer的程序包 程序包 说明 org.springframework.http.server Contains an abstraction over server-side HTTP.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 theorg.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.util.pattern Dedicated support for matching HTTP request paths.org.springframework.http.server中PathContainer的使用
org.springframework.http.server中PathContainer的子接口 修饰符和类型 接口 说明 interface
RequestPath
Represents the complete path for a request.返回PathContainer的org.springframework.http.server中的方法 修饰符和类型 方法 说明 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 ofSeparator
andPathSegment
elements.PathContainer
RequestPath. pathWithinApplication()
The portion of the request path after the context path.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).org.springframework.mock.web.reactive.function.server中PathContainer的使用
返回PathContainer的org.springframework.mock.web.reactive.function.server中的方法 修饰符和类型 方法 说明 PathContainer
MockServerRequest. pathContainer()
org.springframework.web.reactive.function.server中PathContainer的使用
返回PathContainer的org.springframework.web.reactive.function.server中的方法 修饰符和类型 方法 说明 default PathContainer
ServerRequest. pathContainer()
Get the request path as aPathContainer
.org.springframework.web.reactive.function.server.support中PathContainer的使用
返回PathContainer的org.springframework.web.reactive.function.server.support中的方法 修饰符和类型 方法 说明 PathContainer
ServerRequestWrapper. pathContainer()
org.springframework.web.reactive.handler中PathContainer的使用
参数类型为PathContainer的org.springframework.web.reactive.handler中的方法 修饰符和类型 方法 说明 protected Object
AbstractUrlHandlerMapping. lookupHandler(PathContainer lookupPath, ServerWebExchange exchange)
Look up a handler instance for the given URL lookup path.org.springframework.web.servlet.function中PathContainer的使用
返回PathContainer的org.springframework.web.servlet.function中的方法 修饰符和类型 方法 说明 default PathContainer
ServerRequest. pathContainer()
Get the request path as aPathContainer
.org.springframework.web.util.pattern中PathContainer的使用
返回PathContainer的org.springframework.web.util.pattern中的方法 修饰符和类型 方法 说明 PathContainer
PathPattern. extractPathWithinPattern(PathContainer path)
Determine the pattern-mapped part for the given path.PathContainer
PathPattern.PathRemainingMatchInfo. getPathRemaining()
Return the part of a path that was not matched by a pattern.参数类型为PathContainer的org.springframework.web.util.pattern中的方法 修饰符和类型 方法 说明 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.