Class PulsarHeaderMatcher.NeverMatch
java.lang.Object
org.springframework.pulsar.support.header.PulsarHeaderMatcher.NeverMatch
- All Implemented Interfaces:
PulsarHeaderMatcher
- Enclosing interface:
- PulsarHeaderMatcher
A matcher that never matches a set of headers.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.pulsar.support.header.PulsarHeaderMatcher
PulsarHeaderMatcher.NeverMatch, PulsarHeaderMatcher.PatternMatch -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermine if this matcher is a negative matcher where a match means that the header should not be included.booleanmatchHeader(String headerName) Determine if the header matches.
-
Constructor Details
-
NeverMatch
-
-
Method Details
-
matchHeader
Description copied from interface:PulsarHeaderMatcherDetermine if the header matches.- Specified by:
matchHeaderin interfacePulsarHeaderMatcher- Parameters:
headerName- the header name- Returns:
- whether the header matches
-
isNegated
public boolean isNegated()Description copied from interface:PulsarHeaderMatcherDetermine if this matcher is a negative matcher where a match means that the header should not be included.- Specified by:
isNegatedin interfacePulsarHeaderMatcher- Returns:
- whether this matcher is a negative matcher
-