Module io.inverno.mod.http.base
Package io.inverno.mod.http.base.router
Interface AcceptContentRoute.Extractor<A,B extends AcceptContentRoute<A>,C extends AcceptContentRoute.Extractor<A,B,C>>
- Type Parameters:
A
- the resource typeB
- the accept content route typeC
- the accept content route extractor
- All Superinterfaces:
RouteExtractor<A,
B>
- Enclosing interface:
AcceptContentRoute<A>
public static interface AcceptContentRoute.Extractor<A,B extends AcceptContentRoute<A>,C extends AcceptContentRoute.Extractor<A,B,C>>
extends RouteExtractor<A,B>
An accept content route extractor.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
-
Method Summary
Methods inherited from interface io.inverno.mod.http.base.router.RouteExtractor
getRoutes, set
-
Method Details
-
accept
Sets the extractor to extract routes defined with the specified accepted media type or media range.
- Parameters:
accept
- a media type or a media range- Returns:
- a route extractor
-