类的使用
org.springframework.web.util.pattern.PathPattern
使用PathPattern的程序包 程序包 说明 org.springframework.web.reactive.handler Provides HandlerMapping implementations including abstract base classes.org.springframework.web.reactive.resource Support classes for serving static resources.org.springframework.web.reactive.result.condition RequestConditionand implementations for matching requests based on different criteria.org.springframework.web.util.pattern Dedicated support for matching HTTP request paths.org.springframework.web.reactive.handler中PathPattern的使用
返回变量类型为PathPattern的类型的org.springframework.web.reactive.handler中的方法 修饰符和类型 方法 说明 Map<PathPattern,Object>AbstractUrlHandlerMapping. getHandlerMap()Return a read-only view of registered path patterns and handlers which may may be an actual handler instance or the bean name of lazily initialized handler.org.springframework.web.reactive.resource中PathPattern的使用
返回变量类型为PathPattern的类型的org.springframework.web.reactive.resource中的方法 修饰符和类型 方法 说明 Map<PathPattern,ResourceWebHandler>ResourceUrlProvider. getHandlerMap()Return a read-only view of the resource handler mappings either manually configured or auto-detected from Spring configuration.org.springframework.web.reactive.result.condition中PathPattern的使用
返回变量类型为PathPattern的类型的org.springframework.web.reactive.result.condition中的方法 修饰符和类型 方法 说明 protected Collection<PathPattern>PatternsRequestCondition. getContent()Set<PathPattern>PatternsRequestCondition. getPatterns()参数类型为PathPattern的org.springframework.web.reactive.result.condition中的构造器 构造器 说明 PatternsRequestCondition(PathPattern... patterns)Creates a new instance with the given URL patterns.类型变量类型为PathPattern的org.springframework.web.reactive.result.condition中的构造器参数 构造器 说明 PatternsRequestCondition(List<PathPattern> patterns)Creates a new instance with the given URL patterns.org.springframework.web.util.pattern中PathPattern的使用
类型参数类型为PathPattern的org.springframework.web.util.pattern中的字段 修饰符和类型 字段 说明 static Comparator<PathPattern>PathPattern. SPECIFICITY_COMPARATORComparator that sorts patterns by specificity as follows: Null instances are last.返回PathPattern的org.springframework.web.util.pattern中的方法 修饰符和类型 方法 说明 PathPatternPathPattern. combine(PathPattern pattern2string)Combine this pattern with another.PathPatternPathPatternParser. parse(String pathPattern)Process the path pattern content, a character at a time, breaking it into path elements around separator boundaries and verifying the structure at each stage.参数类型为PathPattern的org.springframework.web.util.pattern中的方法 修饰符和类型 方法 说明 PathPatternPathPattern. combine(PathPattern pattern2string)Combine this pattern with another.intPathPattern. compareTo(PathPattern otherPattern)Compare this pattern with a supplied pattern: return -1,0,+1 if this pattern is more specific, the same or less specific than the supplied pattern.