Package org.springframework.cloud.bus
Class DefaultBusPathMatcher
java.lang.Object
org.springframework.cloud.bus.DefaultBusPathMatcher
- All Implemented Interfaces:
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- Author:
- Rohit Kelapure, Spencer Gibb
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractPathWithinPattern(String pattern, String path) extractUriTemplateVariables(String pattern, String path) getPatternComparator(String path) booleanbooleanprotected booleanmatchMultiProfile(String pattern, String idToMatch) booleanmatchStart(String pattern, String path)
-
Constructor Details
-
DefaultBusPathMatcher
public DefaultBusPathMatcher(org.springframework.util.PathMatcher delagateMatcher)
-
-
Method Details
-
matchMultiProfile
-
isPattern
- Specified by:
isPatternin interfaceorg.springframework.util.PathMatcher
-
match
- Specified by:
matchin interfaceorg.springframework.util.PathMatcher
-
matchStart
- Specified by:
matchStartin interfaceorg.springframework.util.PathMatcher
-
extractPathWithinPattern
- Specified by:
extractPathWithinPatternin interfaceorg.springframework.util.PathMatcher
-
extractUriTemplateVariables
- Specified by:
extractUriTemplateVariablesin interfaceorg.springframework.util.PathMatcher
-
getPatternComparator
- Specified by:
getPatternComparatorin interfaceorg.springframework.util.PathMatcher
-
combine
- Specified by:
combinein interfaceorg.springframework.util.PathMatcher
-