public class DefaultBusPathMatcher extends Object implements org.springframework.util.PathMatcher
BusPathMatcher that matches application context ids with multiple,
comma-separated, profiles. Original
https://gist.github.com/kelapure/61d3f948acf478cc95225ff1d7d239c4
See https://github.com/spring-cloud/spring-cloud-config/issues/678| Constructor and Description |
|---|
DefaultBusPathMatcher(org.springframework.util.PathMatcher delagateMatcher) |
| Modifier and Type | Method and Description |
|---|---|
String |
combine(String pattern1,
String pattern2) |
String |
extractPathWithinPattern(String pattern,
String path) |
Map<String,String> |
extractUriTemplateVariables(String pattern,
String path) |
Comparator<String> |
getPatternComparator(String path) |
boolean |
isPattern(String path) |
boolean |
match(String pattern,
String path) |
protected boolean |
matchMultiProfile(String pattern,
String idToMatch) |
boolean |
matchStart(String pattern,
String path) |
public DefaultBusPathMatcher(org.springframework.util.PathMatcher delagateMatcher)
public boolean isPattern(String path)
isPattern in interface org.springframework.util.PathMatcherpublic boolean match(String pattern, String path)
match in interface org.springframework.util.PathMatcherpublic boolean matchStart(String pattern, String path)
matchStart in interface org.springframework.util.PathMatcherpublic String extractPathWithinPattern(String pattern, String path)
extractPathWithinPattern in interface org.springframework.util.PathMatcherpublic Map<String,String> extractUriTemplateVariables(String pattern, String path)
extractUriTemplateVariables in interface org.springframework.util.PathMatcherpublic Comparator<String> getPatternComparator(String path)
getPatternComparator in interface org.springframework.util.PathMatcherCopyright © 2021 Pivotal Software, Inc.. All rights reserved.