Interface AbstractHeaderMapper.HeaderMatcher
- All Known Implementing Classes:
- AbstractHeaderMapper.CompositeHeaderMatcher,- AbstractHeaderMapper.ContentBasedHeaderMatcher,- AbstractHeaderMapper.PatternBasedHeaderMatcher,- AbstractHeaderMapper.PrefixBasedMatcher,- AbstractHeaderMapper.SinglePatternBasedHeaderMatcher
- Enclosing class:
- AbstractHeaderMapper<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface AbstractHeaderMapper.HeaderMatcher
Strategy interface to determine if a given header name matches.
- Since:
- 4.1
- 
Method SummaryModifier and Type Method Description default booleanisNegated()Return true if this match should be explicitly excluded from the mapping.booleanmatchHeader(String headerName)Specify if the givenheaderNamematches.
- 
Method Details- 
matchHeaderSpecify if the givenheaderNamematches.- Parameters:
- headerName- the header name to be matched.
- Returns:
- trueif- headerNamematches to this- AbstractHeaderMapper.HeaderMatcher.
 
- 
isNegateddefault boolean isNegated()Return true if this match should be explicitly excluded from the mapping.- Returns:
- true if negated.
 
 
-