Module io.inverno.mod.http.base
Package io.inverno.mod.http.base.router
Interface HeadersRoute.Extractor<A,B extends HeadersRoute<A>,C extends HeadersRoute.Extractor<A,B,C>>
- Type Parameters:
A
- the resource typeB
- the headers route typeC
- 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 Summary
Modifier and TypeMethodDescriptionheadersMatchers
(Map<String, HeadersRoute.HeaderMatcher> headersMatchers) Sets the extractor to extract routes defined with the specified headers matchers.Methods inherited from interface io.inverno.mod.http.base.router.RouteExtractor
getRoutes, set
-
Method Details
-
headersMatchers
Sets the extractor to extract routes defined with the specified headers matchers.
- Parameters:
headersMatchers
- a map of header matchers- Returns:
- a route extractor
-