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.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.
|
Modifier and Type | Field and Description |
---|---|
private ContainerResponse |
ApplicationHandler.FutureResponseWriter.response |
private ContainerResponse |
ChunkedOutput.responseContext |
Modifier and Type | Method and Description |
---|---|
private ContainerResponse |
ServerRuntime.Responder.convertResponse(javax.ws.rs.core.Response exceptionResponse) |
private ContainerResponse |
ServerRuntime.Responder.processResponse(ContainerResponse response) |
private ContainerResponse |
ServerRuntime.Responder.writeResponse(ContainerResponse response) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<ContainerResponse> |
ApplicationHandler.apply(ContainerRequest requestContext)
Invokes a request and returns the
response future . |
java.util.concurrent.Future<ContainerResponse> |
ApplicationHandler.apply(ContainerRequest request,
java.io.OutputStream outputStream)
Invokes a request and returns the
response future . |
Stage.Continuation<ContainerResponse> |
ContainerFilteringStage.ResponseFilterStage.apply(ContainerResponse responseContext) |
private Inflector<RequestProcessingContext,ContainerResponse> |
ContainerRequest.getInflector() |
Modifier and Type | Method and Description |
---|---|
Stage.Continuation<ContainerResponse> |
ContainerFilteringStage.ResponseFilterStage.apply(ContainerResponse responseContext) |
void |
ServerRuntime.Responder.process(ContainerResponse response) |
private ContainerResponse |
ServerRuntime.Responder.processResponse(ContainerResponse response) |
private void |
ServerRuntime.Responder.release(ContainerResponse responseContext) |
(package private) void |
ChunkedOutput.setContext(RequestScope requestScope,
RequestContext requestScopeContext,
ContainerRequest requestContext,
ContainerResponse responseContext,
javax.ws.rs.container.ConnectionCallback connectionCallbackRunner)
Set context used for writing chunks.
|
private void |
ServerRuntime.Responder.setWrittenResponse(ContainerResponse response) |
private ContainerResponse |
ServerRuntime.Responder.writeResponse(ContainerResponse response) |
java.io.OutputStream |
ApplicationHandler.FutureResponseWriter.writeResponseStatusAndHeaders(long contentLength,
ContainerResponse response) |
Modifier and Type | Field and Description |
---|---|
private ContainerResponse |
RequestEventImpl.containerResponse |
private ContainerResponse |
RequestEventImpl.Builder.containerResponse |
Modifier and Type | Method and Description |
---|---|
ContainerResponse |
RequestEventImpl.getContainerResponse() |
Modifier and Type | Method and Description |
---|---|
RequestEventBuilder |
EmptyRequestEventBuilder.setContainerResponse(ContainerResponse containerResponse) |
RequestEventBuilder |
RequestEventBuilder.setContainerResponse(ContainerResponse containerResponse)
Set the container response.
|
RequestEventImpl.Builder |
RequestEventImpl.Builder.setContainerResponse(ContainerResponse containerResponse) |
Constructor and Description |
---|
RequestEventImpl(RequestEvent.Type type,
ContainerRequest containerRequest,
ContainerResponse containerResponse,
java.lang.Throwable throwable,
ExtendedUriInfo extendedUriInfo,
java.lang.Iterable<javax.ws.rs.container.ContainerResponseFilter> containerResponseFilters,
java.lang.Iterable<javax.ws.rs.container.ContainerRequestFilter> containerRequestFilters,
javax.ws.rs.ext.ExceptionMapper<?> exceptionMapper,
boolean success,
boolean responseSuccessfullyMapped,
RequestEvent.ExceptionCause exceptionCause,
boolean responseWritten) |
Modifier and Type | Field and Description |
---|---|
private Stage<ContainerResponse> |
DefaultRespondingContext.rootStage |
Modifier and Type | Method and Description |
---|---|
Stage<ContainerResponse> |
RequestProcessingContext.createRespondingRoot() |
Stage<ContainerResponse> |
DefaultRespondingContext.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 |
DefaultRespondingContext.push(ChainableStage<ContainerResponse> stage) |
void |
RespondingContext.push(ChainableStage<ContainerResponse> stage)
Push chainable response transformation stage that should be applied.
|
void |
RequestProcessingContext.push(java.util.function.Function<ContainerResponse,ContainerResponse> responseTransformation) |
void |
RequestProcessingContext.push(java.util.function.Function<ContainerResponse,ContainerResponse> responseTransformation) |
void |
DefaultRespondingContext.push(java.util.function.Function<ContainerResponse,ContainerResponse> responseTransformation) |
void |
DefaultRespondingContext.push(java.util.function.Function<ContainerResponse,ContainerResponse> responseTransformation) |
void |
RespondingContext.push(java.util.function.Function<ContainerResponse,ContainerResponse> responseTransformation)
Push response transformation function that should be applied.
|
void |
RespondingContext.push(java.util.function.Function<ContainerResponse,ContainerResponse> responseTransformation)
Push response transformation function that should be applied.
|
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 |
---|---|
java.io.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.
|