| Package | Description |
|---|---|
| org.glassfish.jersey.server |
Jersey server-side classes.
|
| org.glassfish.jersey.server.internal.inject |
Jersey server-side JAX-RS injection support classes.
|
| org.glassfish.jersey.server.internal.monitoring | |
| org.glassfish.jersey.server.internal.routing |
Jersey server-side internal resource routing classes.
|
| org.glassfish.jersey.server.model |
Jersey server-side application & resource modeling classes.
|
| org.glassfish.jersey.server.monitoring | |
| org.glassfish.jersey.server.spi.internal |
Jersey server-side internal service provider contract (SPI) classes.
|
| Modifier and Type | Method and Description |
|---|---|
ContainerRequest |
ContainerMessageBodyWorkersInitializer.apply(ContainerRequest requestContext) |
ContainerRequest |
ContainerResponse.getRequestContext()
Get the associated container request context paired with this response context.
|
| Modifier and Type | Method and Description |
|---|---|
Future<ContainerResponse> |
ApplicationHandler.apply(ContainerRequest requestContext)
Invokes a request and returns the
response future. |
ContainerRequest |
ContainerMessageBodyWorkersInitializer.apply(ContainerRequest requestContext) |
Future<ContainerResponse> |
ApplicationHandler.apply(ContainerRequest request,
OutputStream outputStream)
Invokes a request and returns the
response future. |
void |
ApplicationHandler.handle(ContainerRequest requestContext)
The main request/response processing entry point for Jersey container implementations.
|
| Constructor and Description |
|---|
ContainerResponse(ContainerRequest requestContext,
javax.ws.rs.core.Response response)
Create a new Jersey container response context.
|
| Modifier and Type | Method and Description |
|---|---|
protected ContainerRequest |
AbstractContainerRequestValueFactory.getContainerRequest()
Get the container request.
|
| Modifier and Type | Method and Description |
|---|---|
ContainerRequest |
RequestEventImpl.getContainerRequest() |
| Modifier and Type | Method and Description |
|---|---|
RequestEventBuilder |
RequestEventBuilder.setContainerRequest(ContainerRequest containerRequest)
Set the container request.
|
RequestEventBuilder |
EmptyRequestEventBuilder.setContainerRequest(ContainerRequest containerRequest) |
RequestEventImpl.Builder |
RequestEventImpl.Builder.setContainerRequest(ContainerRequest containerRequest) |
| Modifier and Type | Method and Description |
|---|---|
ContainerRequest |
Router.Continuation.requestContext()
Get the routed request context.
|
| Modifier and Type | Method and Description |
|---|---|
Stage.Continuation<ContainerRequest> |
RoutedInflectorExtractorStage.apply(ContainerRequest requestContext) |
Stage.Continuation<ContainerRequest> |
RoutingStage.apply(ContainerRequest request)
Routing stage navigates through the nested
routing hierarchy
using a depth-first transformation strategy until a request-to-response
inflector is found on
a leaf stage node, in which case the request routing is terminated and an
inflector (if found) is pushed
to the routing context. |
Inflector<ContainerRequest,ContainerResponse> |
RoutingContext.getInflector()
Get the matched request to response data inflector if present, or
null
otherwise. |
Inflector<ContainerRequest,ContainerResponse> |
UriRoutingContext.getInflector() |
| Modifier and Type | Method and Description |
|---|---|
Stage.Continuation<ContainerRequest> |
RoutedInflectorExtractorStage.apply(ContainerRequest requestContext) |
Stage.Continuation<ContainerRequest> |
RoutingStage.apply(ContainerRequest request)
Routing stage navigates through the nested
routing hierarchy
using a depth-first transformation strategy until a request-to-response
inflector is found on
a leaf stage node, in which case the request routing is terminated and an
inflector (if found) is pushed
to the routing context. |
Router.Continuation |
Router.apply(ContainerRequest data)
Performs a request routing task and returns the routed request together with
a
routing continuation. |
static Router.Continuation |
Router.Continuation.of(ContainerRequest result)
Create a terminal continuation from the routed request.
|
static Router.Continuation |
Router.Continuation.of(ContainerRequest result,
Iterable<Router> next)
Create a continuation from the routed request and a collection
of next level routers.
|
static Router.Continuation |
Router.Continuation.of(ContainerRequest request,
Router next)
Create a continuation from the routed request and a single
of next level routers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RoutingContext.setInflector(Inflector<ContainerRequest,ContainerResponse> inflector)
Set the matched request to response inflector.
|
void |
UriRoutingContext.setInflector(Inflector<ContainerRequest,ContainerResponse> inflector) |
| Modifier and Type | Method and Description |
|---|---|
ContainerResponse |
ResourceMethodInvoker.apply(ContainerRequest requestContext) |
| Modifier and Type | Method and Description |
|---|---|
ContainerRequest |
RequestEvent.getContainerRequest()
Get the container request.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
ResourceMethodDispatcher.dispatch(Object resource,
ContainerRequest request)
Reflectively dispatch a request to the underlying
invocable resource method via the configured invocation handler using the provided resource class instance. |
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.