- Type Parameters:
A
- the resource type
- All Superinterfaces:
Route<A>
A URI route.
This is used to define route based on the URI specified in an input. For instance, in order to resolve the socket address targeted by the URI http://sampleHost
, a URI route must be defined
with http://sampleHost
URI targeting a resolved socket address.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
URIRoute.Extractor<A,
B extends URIRoute<A>, C extends URIRoute.Extractor<A, B, C>> A URI route extractor.static interface
URIRoute.Manager<A,
B, C extends URIRoute<A>, D extends URIRoute.Manager<A, B, C, D, E>, E extends Router<A, B, C, D, E>> A URI route manager. -
Method Summary
-
Method Details
-
getURI
String getURI()Returns a URI.
- Returns:
- a URI
-
getURIPattern
URIPattern getURIPattern()Returns a URI pattern.
- Returns:
- a URI pattern or null
-