Package | Description |
---|---|
org.glassfish.jersey.server |
Jersey server-side classes.
|
org.glassfish.jersey.server.internal |
Jersey server-side internal classes.
|
org.glassfish.jersey.server.internal.inject |
Jersey server-side JAX-RS injection support 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.internal |
Jersey server-side internal model related and routing helper classes.
|
org.glassfish.jersey.server.monitoring |
Jersey server-side monitoring JMX MBeans interfaces.
|
org.glassfish.jersey.server.spi.internal |
Jersey server-side internal service provider contract (SPI) classes.
|
Modifier and Type | Field and Description |
---|---|
private ContainerRequest |
ChunkedOutput.requestContext |
private ContainerRequest |
ContainerResponse.requestContext |
Modifier and Type | Method and Description |
---|---|
ContainerRequest |
ContainerResponse.getRequestContext()
Get the associated container request context paired with this response context.
|
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 . |
private static void |
ServerRuntime.ensureAbsolute(java.net.URI location,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> headers,
ContainerRequest request,
boolean incompatible)
Ensure that the value a header is an absolute URI, if present among headers.
|
private static java.lang.String |
TracingUtils.getTracingLoggerNameSuffix(ContainerRequest request)
Get request header specified JDK logger name suffix.
|
private static TracingLogger.Level |
TracingUtils.getTracingThreshold(TracingLogger.Level appThreshold,
ContainerRequest containerRequest) |
void |
ApplicationHandler.handle(ContainerRequest request)
The main request/response processing entry point for Jersey container implementations.
|
static void |
TracingUtils.initTracingSupport(TracingConfig type,
TracingLogger.Level appThreshold,
ContainerRequest containerRequest)
According to configuration/request header it initialize
TracingLogger and put it to the request properties. |
private static boolean |
TracingUtils.isTracingSupportEnabled(TracingConfig type,
ContainerRequest containerRequest)
Test if application and request settings enabled tracing support.
|
static void |
TracingUtils.logStart(ContainerRequest request)
Log tracing messages START events.
|
void |
ServerRuntime.process(ContainerRequest request)
Process a container request.
|
(package private) void |
ChunkedOutput.setContext(RequestScope requestScope,
RequestScope.Instance requestScopeInstance,
ContainerRequest requestContext,
ContainerResponse responseContext,
javax.ws.rs.container.ConnectionCallback connectionCallbackRunner,
Value<AsyncContext> asyncContext)
Set context used for writing chunks.
|
Constructor and Description |
---|
ContainerResponse(ContainerRequest requestContext,
OutboundJaxrsResponse response)
Create a new Jersey container response context.
|
ContainerResponse(ContainerRequest requestContext,
javax.ws.rs.core.Response response)
Create a new Jersey container response context.
|
Modifier and Type | Field and Description |
---|---|
private javax.inject.Provider<ContainerRequest> |
JsonWithPaddingInterceptor.containerRequestProvider |
Modifier and Type | Field and Description |
---|---|
private javax.inject.Provider<ContainerRequest> |
AbstractContainerRequestValueFactory.request |
Modifier and Type | Method and Description |
---|---|
private static ContainerRequest |
FormParamValueFactoryProvider.FormParamValueFactory.ensureValidRequest(ContainerRequest request) |
protected ContainerRequest |
AbstractContainerRequestValueFactory.getContainerRequest()
Get the container request.
|
Modifier and Type | Method and Description |
---|---|
private void |
FormParamValueFactoryProvider.FormParamValueFactory.cacheForm(ContainerRequest request,
javax.ws.rs.core.Form form) |
private static ContainerRequest |
FormParamValueFactoryProvider.FormParamValueFactory.ensureValidRequest(ContainerRequest request) |
private static javax.ws.rs.core.Form |
FormParamValueFactoryProvider.FormParamValueFactory.getCachedForm(ContainerRequest request,
boolean decode) |
private javax.ws.rs.core.Form |
FormParamValueFactoryProvider.FormParamValueFactory.getForm(ContainerRequest request) |
private javax.ws.rs.core.Form |
FormParamValueFactoryProvider.FormParamValueFactory.getFormParameters(ContainerRequest request) |
private javax.ws.rs.core.Form |
FormParamValueFactoryProvider.FormParamValueFactory.switchUrlEncoding(ContainerRequest request,
javax.ws.rs.core.Form otherForm) |
Modifier and Type | Field and Description |
---|---|
private ContainerRequest |
RequestEventImpl.containerRequest |
private ContainerRequest |
RequestEventImpl.Builder.containerRequest |
Modifier and Type | Method and Description |
---|---|
ContainerRequest |
RequestEventImpl.getContainerRequest() |
Modifier and Type | Method and Description |
---|---|
RequestEventBuilder |
EmptyRequestEventBuilder.setContainerRequest(ContainerRequest containerRequest) |
RequestEventBuilder |
RequestEventBuilder.setContainerRequest(ContainerRequest containerRequest)
Set the container request.
|
RequestEventImpl.Builder |
RequestEventImpl.Builder.setContainerRequest(ContainerRequest containerRequest) |
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 ContainerRequest |
RequestProcessingContext.request |
Modifier and Type | Method and Description |
---|---|
ContainerRequest |
ServerProcessingBinder.ContainerRequestFactory.provide() |
ContainerRequest |
RequestProcessingContext.request()
Get the processed container request.
|
Constructor and Description |
---|
RequestProcessingContext(org.glassfish.hk2.api.ServiceLocator serviceLocator,
ContainerRequest request,
UriRoutingContext routingContext,
RequestEventBuilder monitoringEventBuilder,
RequestEventListener monitoringEventListener)
Create new request processing context.
|
Modifier and Type | Field and Description |
---|---|
private ContainerRequest |
UriRoutingContext.requestContext |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
MethodSelectingRouter.ConsumesProducesAcceptor.isConsumable(ContainerRequest requestContext)
Determines whether this
ConsumesProducesAcceptor router can process the request . |
Constructor and Description |
---|
UriRoutingContext(ContainerRequest requestContext)
Injection constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
AbstractJavaResourceMethodDispatcher.dispatch(java.lang.Object resource,
ContainerRequest request) |
protected abstract javax.ws.rs.core.Response |
AbstractJavaResourceMethodDispatcher.doDispatch(java.lang.Object resource,
ContainerRequest request)
Dispatching functionality to be implemented by a concrete dispatcher
implementation sub-class.
|
protected javax.ws.rs.core.Response |
JavaResourceMethodDispatcherProvider.VoidOutInvoker.doDispatch(java.lang.Object resource,
ContainerRequest containerRequest) |
protected javax.ws.rs.core.Response |
JavaResourceMethodDispatcherProvider.ResponseOutInvoker.doDispatch(java.lang.Object resource,
ContainerRequest containerRequest) |
protected javax.ws.rs.core.Response |
JavaResourceMethodDispatcherProvider.ObjectOutInvoker.doDispatch(java.lang.Object resource,
ContainerRequest containerRequest) |
protected javax.ws.rs.core.Response |
JavaResourceMethodDispatcherProvider.TypeOutInvoker.doDispatch(java.lang.Object resource,
ContainerRequest containerRequest) |
javax.ws.rs.core.Response |
VoidVoidDispatcherProvider.VoidToVoidDispatcher.doDispatch(java.lang.Object resource,
ContainerRequest containerRequest) |
(package private) java.lang.Object |
AbstractJavaResourceMethodDispatcher.invoke(ContainerRequest containerRequest,
java.lang.Object resource,
java.lang.Object... args)
Use the underlying invocation handler to invoke the underlying Java method
with the supplied input method argument values on a given resource instance.
|
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(java.lang.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. |