Module io.inverno.mod.http.base
Package io.inverno.mod.http.base.router
Interface ContentRoute.Extractor<A,B extends ContentRoute<A>,C extends ContentRoute.Extractor<A,B,C>>
- Type Parameters:
A
- the resource typeB
- the content route typeC
- the content route extractor
- All Superinterfaces:
RouteExtractor<A,
B>
- Enclosing interface:
ContentRoute<A>
public static interface ContentRoute.Extractor<A,B extends ContentRoute<A>,C extends ContentRoute.Extractor<A,B,C>>
extends RouteExtractor<A,B>
A content route extractor.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncontentType
(String mediaRange) Sets the extractor to extract routes defined to accept the specified content.Methods inherited from interface io.inverno.mod.http.base.router.RouteExtractor
getRoutes, set
-
Method Details
-
contentType
Sets the extractor to extract routes defined to accept the specified content.
- Parameters:
mediaRange
- a media range- Returns:
- a route extractor
-