Class Routers
java.lang.Object
org.glassfish.jersey.server.internal.routing.Routers
Routing tree assembly utilities.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
IDENTITY_ROUTER
-
-
Constructor Details
-
Routers
private Routers()
-
-
Method Details
-
noop
Create a terminal "no-op router" that accepts any input context and returns the unchanged request and an empty continuation iterator.- Returns:
- a terminal "no-op" router.
-
endpoint
Creates a terminalRouterthat wraps the givenendpoint. TheRouter.apply(RequestProcessingContext)method of the created hierarchical router returns the unchanged request and an empty continuation iterator.- Parameters:
endpoint- a server-side endpoint to be wrapped in a router instance.- Returns:
- a router that wraps the supplied endpoint.
-
extractEndpoint
-