- Type Parameters:
A
- the resource type
- All Superinterfaces:
Route<A>
An authority route.
This is used to define route based on the authority specified in an input. For instance, in order to resolve a handler for an HTTP request with host: example.org
header, an authority route
must be defined with authority example.org
targeting a handler producing example.org
content.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
AuthorityRoute.Extractor<A,
B extends AuthorityRoute<A>, C extends AuthorityRoute.Extractor<A, B, C>> An authority route extractor.static interface
AuthorityRoute.Manager<A,
B, C extends AuthorityRoute<A>, D extends AuthorityRoute.Manager<A, B, C, D, E>, E extends Router<A, B, C, D, E>> An authority route manager. -
Method Summary
Modifier and TypeMethodDescriptionReturns an authority.Returns a pattern for authority matching.