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