| Package | Description |
|---|---|
| org.glassfish.jersey.server |
Jersey server-side classes.
|
| org.glassfish.jersey.server.internal.monitoring |
Jersey server-side internal monitoring and statistics classes.
|
| org.glassfish.jersey.server.internal.process |
Jersey server-side internal classes related to request and response processing.
|
| 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 |
Jersey server-side monitoring JMX MBeans interfaces.
|
| org.glassfish.jersey.server.spi |
Jersey server-side service provider contract (SPI) classes.
|
| org.glassfish.jersey.servlet.internal |
Jersey internal Servlet API.
|
| 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 |
|---|---|
RequestEventImpl.Builder |
RequestEventImpl.Builder.setContainerResponse(ContainerResponse containerResponse) |
RequestEventBuilder |
EmptyRequestEventBuilder.setContainerResponse(ContainerResponse containerResponse) |
RequestEventBuilder |
RequestEventBuilder.setContainerResponse(ContainerResponse containerResponse)
Set the container response.
|
| Modifier and Type | Method and Description |
|---|---|
Stage<ContainerResponse> |
RequestProcessingContext.createRespondingRoot() |
Stage<ContainerResponse> |
RespondingContext.createRespondingRoot()
(Optionally) create a responder chain from all transformations
previously pushed into the context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RequestProcessingContext.push(ChainableStage<ContainerResponse> stage) |
void |
RespondingContext.push(ChainableStage<ContainerResponse> stage)
Push chainable response transformation stage that should be applied.
|
void |
RequestProcessingContext.push(jersey.repackaged.com.google.common.base.Function<ContainerResponse,ContainerResponse> responseTransformation) |
void |
RequestProcessingContext.push(jersey.repackaged.com.google.common.base.Function<ContainerResponse,ContainerResponse> responseTransformation) |
void |
RespondingContext.push(jersey.repackaged.com.google.common.base.Function<ContainerResponse,ContainerResponse> responseTransformation)
Push response transformation function that should be applied.
|
void |
RespondingContext.push(jersey.repackaged.com.google.common.base.Function<ContainerResponse,ContainerResponse> responseTransformation)
Push response transformation function that should be applied.
|
| Modifier and Type | Method and Description |
|---|---|
Inflector<RequestProcessingContext,ContainerResponse> |
RoutingContext.getInflector()
Get the matched request to response data inflector if present, or
null
otherwise. |
Inflector<RequestProcessingContext,ContainerResponse> |
UriRoutingContext.getInflector() |
| Modifier and Type | Method and Description |
|---|---|
static Router |
Routers.asTreeAcceptor(Inflector<RequestProcessingContext,ContainerResponse> inflector)
Creates a leaf-node
Router that implements Inflecting
interface and returns the provided Inflector instance
when the Inflecting.inflector() method is called. |
void |
RoutingContext.setInflector(Inflector<RequestProcessingContext,ContainerResponse> inflector)
Set the matched request to response inflector.
|
void |
UriRoutingContext.setInflector(Inflector<RequestProcessingContext,ContainerResponse> inflector) |
| Modifier and Type | Method and Description |
|---|---|
ContainerResponse |
ResourceMethodInvoker.apply(RequestProcessingContext processingContext) |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
ResponseWriter.writeResponseStatusAndHeaders(long contentLength,
ContainerResponse responseContext) |
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.