Interface AbstractKafkaHeaderMapper.HeaderMatcher

All Known Implementing Classes:
AbstractKafkaHeaderMapper.NeverMatchHeaderMatcher, AbstractKafkaHeaderMapper.SimplePatternBasedHeaderMatcher
Enclosing class:
AbstractKafkaHeaderMapper

protected static interface AbstractKafkaHeaderMapper.HeaderMatcher
A matcher for headers.
Since:
2.3
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return true if this matcher is a negative matcher.
    boolean
    matchHeader(String headerName)
    Return true if the header matches.
  • Method Details

    • matchHeader

      boolean matchHeader(String headerName)
      Return true if the header matches.
      Parameters:
      headerName - the header name.
      Returns:
      true for a match.
    • isNegated

      boolean isNegated()
      Return true if this matcher is a negative matcher.
      Returns:
      true for a negative matcher.