Module io.inverno.mod.http.base
Package io.inverno.mod.http.base.router
Interface AuthorityRoute.Extractor<A,B extends AuthorityRoute<A>,C extends AuthorityRoute.Extractor<A,B,C>>
- Type Parameters:
A
- the resource typeB
- the authority route typeC
- the authority route extractor
- All Superinterfaces:
RouteExtractor<A,
B>
- Enclosing interface:
AuthorityRoute<A>
public static interface AuthorityRoute.Extractor<A,B extends AuthorityRoute<A>,C extends AuthorityRoute.Extractor<A,B,C>>
extends RouteExtractor<A,B>
An authority 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
-
authority
Sets the extractor to extract routes defined with the specified authority.
- Parameters:
authority
- an authority- Returns:
- a route extractor
-
authorityPattern
Sets the extractor to extract routes defined with the specified authority pattern.
- Parameters:
authorityPattern
- an authority pattern- Returns:
- a route extractor
-