Interface HeadersRoute.Extractor<A,B extends HeadersRoute<A>,C extends HeadersRoute.Extractor<A,B,C>>

Type Parameters:
A - the resource type
B - the headers route type
C - the headers route extractor
All Superinterfaces:
RouteExtractor<A,B>
Enclosing interface:
HeadersRoute<A>

public static interface HeadersRoute.Extractor<A,B extends HeadersRoute<A>,C extends HeadersRoute.Extractor<A,B,C>> extends RouteExtractor<A,B>

A headers route extractor.

Since:
1.12
Author:
Jeremy Kuhn
  • Method Details

    • headersMatchers

      C headersMatchers(Map<String,HeadersRoute.HeaderMatcher> headersMatchers)

      Sets the extractor to extract routes defined with the specified headers matchers.

      Parameters:
      headersMatchers - a map of header matchers
      Returns:
      a route extractor