Class AbstractHeaderMapper.CompositeHeaderMatcher
java.lang.Object
org.springframework.integration.mapping.AbstractHeaderMapper.CompositeHeaderMatcher
- All Implemented Interfaces:
AbstractHeaderMapper.HeaderMatcher
- Enclosing class:
- AbstractHeaderMapper<T>
protected static class AbstractHeaderMapper.CompositeHeaderMatcher extends Object implements AbstractHeaderMapper.HeaderMatcher
A composite
AbstractHeaderMapper.HeaderMatcher that matches if one of provided
AbstractHeaderMapper.HeaderMatchers matches to the headerName.- Since:
- 4.1
-
Method Summary
Modifier and Type Method Description booleanmatchHeader(String headerName)Specify if the givenheaderNamematches.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.mapping.AbstractHeaderMapper.HeaderMatcher
isNegated
-
Method Details
-
matchHeader
Description copied from interface:AbstractHeaderMapper.HeaderMatcherSpecify if the givenheaderNamematches.- Specified by:
matchHeaderin interfaceAbstractHeaderMapper.HeaderMatcher- Parameters:
headerName- the header name to be matched.- Returns:
trueifheaderNamematches to thisAbstractHeaderMapper.HeaderMatcher.
-