Package org.glassfish.jersey.server
Jersey server-side classes.
-
Interface Summary Interface Description AsyncContext Injectable asynchronous processing context that can be used to control various aspects of asynchronous processing of a single request.Broadcaster.Task<T> BroadcasterListener<T> Listener interface that can be implemented to listen to events fired byBroadcasterobject.CloseableService A closeable service to add instances ofCloseablethat are required to be closed.ExtendedResourceContext Jersey extension ofResourceContext.ExtendedUriInfo Extensions toUriInfo.ResourceFinder An interface used for finding and opening (loading) new resources.ServerConfig Server-side application configuration.SubjectSecurityContext Security context that allows establishing a subject before a resource method or a sub-resource locator is called. -
Class Summary Class Description ApplicationConfigurator Configurator which initializes and registerApplicationinstance intoInjectionManagerandBootstrapBag.ApplicationHandler Jersey server-side application handler.ApplicationHandler.FutureResponseWriter ApplicationHandler.WorkersToStringTransform<T> BackgroundSchedulerLiteral BackgroundSchedulerannotation literal.Broadcaster<T> Used for broadcasting response chunks to multipleChunkedOutputinstances.ChunkedOutput<T> Used for sending messages in "typed" chunks.ChunkedResponseWriter Used for writingChunkedOutput.ComponentProviderConfigurator Configurator which initializes and registerComponentProviderinstances intoBootstrapBag.ContainerFactory Factory for creating specific HTTP-based containers.ContainerFilteringStage Container filtering stage responsible for execution of request and response filters on each request-response message exchange.ContainerFilteringStage.ResponseFilterStage ContainerMessageBodyWorkersInitializer Function that can be put to an acceptor chain to properly initializeMessageBodyWorkersinstance on a current request and response.ContainerProviderConfigurator Configurator which initializes and registerContainerProviderinstances intoInjectionManagerandBootstrapBag.ContainerRequest Jersey container request context.ContainerResponse Jersey container response context.ExternalRequestScopeConfigurator Configurator which initializes and registerExternalRequestScopeinstance intoInjectionManager.ExternalRequestScopeConfigurator.NoopExternalRequestScopeBinder JerseyResourceContextConfigurator Configurator which initializes and registerJerseyResourceContextinstance intoInjectionManagerandBootstrapBag.ManagedAsyncExecutorLiteral ManagedAsyncExecutorannotation literal.ModelProcessorConfigurator Configurator which initializes and registerModelProcessorinstances intoBootstrapBag.ProcessingProvidersConfigurator Configurator which initializes and registerProcessingProvidersinstance intoBootstrapBag.ResourceBag A container for application resource models used during theApplicationHandlerinitialization.ResourceBag.Builder Resource bag builder.ResourceBagConfigurator Configurator which initializes and registerResourceBaginstance intoBootstrapBag.ResourceConfig The resource configuration for configuring a web application.ResourceConfig.ImmutableState ResourceConfig.RuntimeConfig ResourceConfig.State ResourceConfig.WrappingResourceConfig ResourceModelConfigurator Configurator which binds providers and resources intoInjectionManager.ServerBinder Server injection binder.ServerBootstrapBag A holder that is used only during Jersey bootstrap to keep the instances of the given types and then use them during the bootstrap.ServerExecutorProvidersConfigurator Configurator which initializes and registerExecutorServiceProviderandScheduledExecutorServiceProvider.ServerExecutorProvidersConfigurator.DefaultBackgroundSchedulerProvider DefaultScheduledExecutorServiceProviderused on the server side for providing the scheduled executor service that runs background tasks.ServerExecutorProvidersConfigurator.DefaultManagedAsyncExecutorProvider DefaultExecutorServiceProviderused on the server side for managed asynchronous request processing.ServerProperties Jersey server-side configuration properties.ServerRuntime Server-side request processing runtime.ServerRuntime.AbstractCallbackRunner<T> Abstract composite callback runner.ServerRuntime.AsyncResponder ServerRuntime.AsyncResponderHolder ServerRuntime.CompletionCallbackRunner ServerRuntime.ConnectionCallbackRunner ServerRuntime.Responder TracingUtils Utilities for tracing support. -
Enum Summary Enum Description AsyncContext.State Asynchronous processing context state.TracingConfig Enumeration of possible values of propertyServerProperties.TRACING. -
Exception Summary Exception Description ContainerException Exception thrown by the container components in to notify Jersey runtime about any errors.ParamException An abstract extension ofWebApplicationExceptionfor the class of parameter-based exceptions.ParamException.CookieParamException A parameter exception for errors withCookieParam.ParamException.FormParamException A parameter exception for errors withFormParam.ParamException.HeaderParamException A parameter exception for errors withHeaderParam.ParamException.MatrixParamException A URI-parameter-based exception for errors withMatrixParam.ParamException.PathParamException A URI-parameter-based exception for errors withPathParam.ParamException.QueryParamException A URI-parameter-based exception for errors withQueryParam.ParamException.UriParamException An abstract parameter exception for the class of URI-parameter-based exceptions. -
Annotation Types Summary Annotation Type Description BackgroundScheduler Injection qualifier that can be used to inject aScheduledExecutorServiceinstance used by Jersey to execute background timed/scheduled tasks.ClientBinding Meta-annotation that provides a facility for creating bindings between an@Uri-injectableWebTargetinstances and clients (and their configurations) that are used to create the injected web target instances.JSONP Annotation can be used to define the JavaScript callback function name if the valid JSONP format is requested as an acceptablemedia typeof this request.ManagedAsync Indicates that the resource method to which the annotation has been applied should be executed on a separate thread managed by an internal Jerseyexecutor service.ManagedAsyncExecutor Injection qualifier that can be used to inject anExecutorServiceinstance used by Jersey to executemanaged asynchronous requests.Uri Injects aresource targetpointing at a resource identified by the resolved URI into a method parameter, class field or a bean property.