| Package | Description |
|---|---|
| com.sun.jersey.api.container |
Provides support for creating HTTP-based containers.
|
| com.sun.jersey.api.container.filter |
Provides common server-side filters.
|
| com.sun.jersey.api.container.httpserver |
Provides support for creating a Light weight HTTP server HTTP container.
|
| com.sun.jersey.api.core |
Provides support for configuration.
|
| com.sun.jersey.api.wadl.config |
Provides support for configuring WADL generation.
|
| com.sun.jersey.spi.container |
Provides support for containers and the web application that manages
resource classes.
|
| Modifier and Type | Method and Description |
|---|---|
static <A> A |
ContainerFactory.createContainer(java.lang.Class<A> type,
ResourceConfig resourceConfig)
Create a container according to the class requested.
|
static <A> A |
ContainerFactory.createContainer(java.lang.Class<A> type,
ResourceConfig resourceConfig,
IoCComponentProviderFactory factory)
Create a container according to the class requested.
|
| Constructor and Description |
|---|
PostReplaceFilter(ResourceConfig rc)
Initializes this filter with
PostReplaceFilter.PROPERTY_POST_REPLACE_FILTER_CONFIG property value from the application resource config. |
| Modifier and Type | Method and Description |
|---|---|
static com.sun.net.httpserver.HttpServer |
HttpServerFactory.create(java.lang.String u,
ResourceConfig rc)
Create a
HttpServer that registers a HttpHandler that
in turn manages all root resource and provder classes declared by the
resource configuration. |
static com.sun.net.httpserver.HttpServer |
HttpServerFactory.create(java.lang.String u,
ResourceConfig rc,
IoCComponentProviderFactory factory)
Create a
HttpServer that registers a HttpHandler that
in turn manages all root resource and provder classes declared by the
resource configuration. |
static com.sun.net.httpserver.HttpServer |
HttpServerFactory.create(java.net.URI u,
ResourceConfig rc)
Create a
HttpServer that registers a HttpHandler that
in turn manages all root resource and provder classes declared by the
resource configuration. |
static com.sun.net.httpserver.HttpServer |
HttpServerFactory.create(java.net.URI u,
ResourceConfig rc,
IoCComponentProviderFactory factory)
Create a
HttpServer that registers a HttpHandler that
in turn manages all root resource and provder classes declared by the
resource configuration. |
| Modifier and Type | Class and Description |
|---|---|
class |
ApplicationAdapter
An extension of
DefaultResourceConfig that adapts an instance
of Application. |
class |
ClassNamesResourceConfig
A mutable implementation of
DefaultResourceConfig that explicitly
declares for root resource and provider classes. |
class |
ClasspathResourceConfig
A mutable implementation of
DefaultResourceConfig that dynamically
searches for root resource and provider classes in the files and directories
declared by the property ClasspathResourceConfig.PROPERTY_CLASSPATH. |
class |
DefaultResourceConfig
A mutable implementation of
ResourceConfig that declares
default values for features. |
class |
PackagesResourceConfig
A mutable implementation of
DefaultResourceConfig that dynamically
searches for root resource and provider classes in a given a set of
declared package and in all (if any) sub-packages of those declared packages. |
class |
ScanningResourceConfig
A resource configuration that performs scanning to find root resource
and provider classes.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceConfig |
ResourceConfig.clone()
Clone this resource configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceConfigurator.configure(ResourceConfig config)
Configure the resource configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static WadlGeneratorConfig |
WadlGeneratorConfigLoader.loadWadlGeneratorsFromConfig(ResourceConfig resourceConfig)
Load the
WadlGeneratorConfig from the provided ResourceConfig using the
property PROPERTY_WADL_GENERATOR_CONFIG. |
| Modifier and Type | Method and Description |
|---|---|
T |
ContainerProvider.createContainer(java.lang.Class<T> type,
ResourceConfig resourceConfig,
WebApplication application)
Create an container of type T.
|
void |
WebApplication.initiate(ResourceConfig resourceConfig)
Initiate the Web application.
|
void |
WebApplication.initiate(ResourceConfig resourceConfig,
IoCComponentProviderFactory provider)
Initiate the Web application.
|
Copyright © 2016 Oracle Corporation. All Rights Reserved.