Package | Description |
---|---|
com.sun.jersey.api.container |
Provides support for creating HTTP-based containers.
|
com.sun.jersey.api.core |
Provides support for configuration.
|
com.sun.jersey.spi.container |
Provides support for containers and the web application that manages
resource classes.
|
com.sun.jersey.spi.template |
Provides support for view aspect of model view controller and templates that
produce views.
|
Modifier and Type | Class and Description |
---|---|
class |
MappableContainerException
A runtime exception that contains a cause, a checked or runtime exception,
that may be mapped to a
Response instance. |
Modifier and Type | Method and Description |
---|---|
static <A> A |
ContainerFactory.createContainer(java.lang.Class<A> type,
java.lang.Class<?>... resourceClasses)
Create a container according to the class requested.
|
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.
|
static <A> A |
ContainerFactory.createContainer(java.lang.Class<A> type,
java.util.Set<java.lang.Class<?>> resourceClasses)
Create a container according to the class requested.
|
static <A> A |
ContainerFactory.createContainer(java.lang.Class<A> type,
java.lang.String packageName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ResourceContext.getResource(java.lang.Class<T> c)
Provides an instance of the given resource class.
|
java.lang.Object |
ResourceContext.matchResource(java.net.URI u)
Match a URI to a resource instance.
|
<T> T |
ResourceContext.matchResource(java.net.URI u,
java.lang.Class<T> c)
Match a URI to a resource instance.
|
ExtendedUriInfo |
ResourceContext.matchUriInfo(java.net.URI u)
Match a URI to URI information.
|
Modifier and Type | Method and Description |
---|---|
T |
ContainerProvider.createContainer(java.lang.Class<T> type,
ResourceConfig resourceConfig,
WebApplication application)
Create an container of type T.
|
WebApplication |
WebApplicationProvider.createWebApplication()
Instantiate a new
WebApplication . |
static WebApplication |
WebApplicationFactory.createWebApplication()
Create a Web application instance.
|
void |
WebApplication.initiate(ResourceConfig resourceConfig)
Initiate the Web application.
|
void |
WebApplication.initiate(ResourceConfig resourceConfig,
IoCComponentProviderFactory provider)
Initiate the Web application.
|
Modifier and Type | Class and Description |
---|---|
class |
TemplateContextException
A rutime expception associated with errors when resolving a
Viewable to a ResolvedViewable by methods on
TemplateContext . |
Copyright © 2016 Oracle Corporation. All Rights Reserved.