Module io.inverno.mod.http.base
Package io.inverno.mod.http.base.router
Interface URIRoute.Extractor<A,B extends URIRoute<A>,C extends URIRoute.Extractor<A,B,C>>
- Type Parameters:
A
- the resource typeB
- the URI route typeC
- the URI route extractor
- All Superinterfaces:
RouteExtractor<A,
B>
public static interface URIRoute.Extractor<A,B extends URIRoute<A>,C extends URIRoute.Extractor<A,B,C>>
extends RouteExtractor<A,B>
A URI route extractor.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionSets the extractor to extract routes defined with the specified URI.uriPattern
(URIPattern uriPattern) Sets the extractor to extract routes defined with the specified URI pattern.Methods inherited from interface io.inverno.mod.http.base.router.RouteExtractor
getRoutes, set
-
Method Details
-
uri
Sets the extractor to extract routes defined with the specified URI.
- Parameters:
uri
- a URI- Returns:
- a route extractor
-
uriPattern
Sets the extractor to extract routes defined with the specified URI pattern.
- Parameters:
uriPattern
- a URI pattern- Returns:
- a route extractor
-