Class AbstractHeaderMapper.PatternBasedHeaderMatcher
java.lang.Object
org.springframework.integration.mapping.AbstractHeaderMapper.PatternBasedHeaderMatcher
- All Implemented Interfaces:
AbstractHeaderMapper.HeaderMatcher
- Enclosing class:
- AbstractHeaderMapper<T>
protected static class AbstractHeaderMapper.PatternBasedHeaderMatcher
extends Object
implements AbstractHeaderMapper.HeaderMatcher
A pattern-based
AbstractHeaderMapper.HeaderMatcher
that matches if the specified
header matches one of the specified simple patterns.- Since:
- 4.1
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matchHeader
(String headerName) Specify if the givenheaderName
matches.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.integration.mapping.AbstractHeaderMapper.HeaderMatcher
isNegated
-
Constructor Details
-
PatternBasedHeaderMatcher
-
-
Method Details
-
matchHeader
Description copied from interface:AbstractHeaderMapper.HeaderMatcher
Specify if the givenheaderName
matches.- Specified by:
matchHeader
in interfaceAbstractHeaderMapper.HeaderMatcher
- Parameters:
headerName
- the header name to be matched.- Returns:
true
ifheaderName
matches to thisAbstractHeaderMapper.HeaderMatcher
.
-