| Package | Description |
|---|---|
| org.glassfish.jersey.server |
Jersey server-side classes.
|
| org.glassfish.jersey.server.internal.monitoring | |
| org.glassfish.jersey.server.internal.process | |
| 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 |
Jersey server-side service provider contract (SPI) classes.
|
| Modifier and Type | Method and Description |
|---|---|
Future<ContainerResponse> |
ApplicationHandler.apply(ContainerRequest requestContext)
Invokes a request and returns the
response future. |
Future<ContainerResponse> |
ApplicationHandler.apply(ContainerRequest request,
OutputStream outputStream)
Invokes a request and returns the
response future. |
| Modifier and Type | Method and Description |
|---|---|
ContainerResponse |
RequestEventImpl.getContainerResponse() |
| Modifier and Type | Method and Description |
|---|---|
RequestEventBuilder |
RequestEventBuilder.setContainerResponse(ContainerResponse containerResponse)
Set the container response.
|
RequestEventBuilder |
EmptyRequestEventBuilder.setContainerResponse(ContainerResponse containerResponse) |
RequestEventImpl.Builder |
RequestEventImpl.Builder.setContainerResponse(ContainerResponse containerResponse) |
| Modifier and Type | Method and Description |
|---|---|
Stage<ContainerResponse> |
RespondingContext.createRespondingRoot()
(Optionally) create a responder chain from all transformations
previously pushed into the context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RespondingContext.push(ChainableStage<ContainerResponse> stage)
Push chainable response transformation stage that should be applied.
|
void |
RespondingContext.push(com.google.common.base.Function<ContainerResponse,ContainerResponse> responseTransformation)
Push response transformation function that should be applied.
|
void |
RespondingContext.push(com.google.common.base.Function<ContainerResponse,ContainerResponse> responseTransformation)
Push response transformation function that should be applied.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
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 |
|---|---|
ContainerResponse |
RequestEvent.getContainerResponse()
Get the container response.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
ContainerResponseWriter.writeResponseStatusAndHeaders(long contentLength,
ContainerResponse responseContext)
Write the status and headers of the response and return an output stream
for the web application to write the entity of the response.
|
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.