Module io.inverno.mod.http.base
Package io.inverno.mod.http.base.router
Interface ContentRoute.Manager<A,B,C extends ContentRoute<A>,D extends ContentRoute.Manager<A,B,C,D,E>,E extends Router<A,B,C,D,E>>
- Type Parameters:
A- the resource typeB- the input typeC- the content route typeD- the content route manager typeE- the router type
- All Superinterfaces:
RouteManager<A,B, C, D, E>
- Enclosing interface:
ContentRoute<A>
public static interface ContentRoute.Manager<A,B,C extends ContentRoute<A>,D extends ContentRoute.Manager<A,B,C,D,E>,E extends Router<A,B,C,D,E>>
extends RouteManager<A,B,C,D,E>
A content route manager.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptioncontentType(String mediaRange) Specifies the media range matching the content type of an input.Methods inherited from interface io.inverno.mod.http.base.router.RouteManager
disable, enable, findRoutes, remove, set, set, set
-
Method Details
-
contentType
Specifies the media range matching the content type of an input.
- Parameters:
mediaRange- a media range- Returns:
- the route manager
-