Class AbstractHeaderMapper.ContentBasedHeaderMatcher
java.lang.Object
org.springframework.integration.mapping.AbstractHeaderMapper.ContentBasedHeaderMatcher
- All Implemented Interfaces:
- AbstractHeaderMapper.HeaderMatcher
- Enclosing class:
- AbstractHeaderMapper<T>
protected static class AbstractHeaderMapper.ContentBasedHeaderMatcher
extends Object
implements AbstractHeaderMapper.HeaderMatcher
A content-based 
AbstractHeaderMapper.HeaderMatcher that matches if the specified
 header is contained within a list of candidates. The case of the
 header does not matter.- Since:
- 4.1
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanmatchHeader(String headerName) Specify if the givenheaderNamematches.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.mapping.AbstractHeaderMapper.HeaderMatcherisNegated
- 
Constructor Details- 
ContentBasedHeaderMatcher
 
- 
- 
Method Details- 
matchHeaderDescription copied from interface:AbstractHeaderMapper.HeaderMatcherSpecify if the givenheaderNamematches.- Specified by:
- matchHeaderin interface- AbstractHeaderMapper.HeaderMatcher
- Parameters:
- headerName- the header name to be matched.
- Returns:
- trueif- headerNamematches to this- AbstractHeaderMapper.HeaderMatcher.
 
 
-