Package ch.rasc.wamp2spring.config
Class DestinationMatch
java.lang.Object
ch.rasc.wamp2spring.config.DestinationMatch
Matches a topic or a procedure
-
Constructor Summary
ConstructorsConstructorDescriptionDestinationMatch(String destination) DestinationMatch(String destination, MatchPolicy matchPolicy) -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if a destination matches with this destinationbooleanmatchesWildcard(String[] components) Checks if a destination matches with this destination.
-
Constructor Details
-
DestinationMatch
-
DestinationMatch
-
-
Method Details
-
getDestination
-
getMatchPolicy
-
matches
Checks if a destination matches with this destination- Parameters:
queryDestination- the destination- Returns:
- true if the destination matches
-
matchesWildcard
Checks if a destination matches with this destination. Used for MatchPolicy.WILDCARD destinations.- Parameters:
components- the destination splitted in a String array- Returns:
- true if the destination matches
-