| 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.server.impl.container | |
| com.sun.jersey.server.impl.container.httpserver | |
| com.sun.jersey.server.impl.model | |
| com.sun.jersey.server.impl.model.parameter.multivalued | |
| 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 |
|---|---|
WebApplication |
WebApplicationProviderImpl.createWebApplication() |
| Modifier and Type | Method and Description |
|---|---|
com.sun.net.httpserver.HttpHandler |
HttpHandlerContainerProvider.createContainer(java.lang.Class<com.sun.net.httpserver.HttpHandler> type,
ResourceConfig resourceConfig,
WebApplication application) |
| Constructor and Description |
|---|
HttpHandlerContainer(WebApplication app) |
| Modifier and Type | Method and Description |
|---|---|
static ContainerException |
ErrorHelper.badClassConsumes(java.lang.Exception e,
java.lang.Class resourceClass,
Consumes c) |
static ContainerException |
ErrorHelper.badClassProduces(java.lang.Exception e,
java.lang.Class resourceClass,
Produces p) |
static ContainerException |
ErrorHelper.badMethodConsumes(java.lang.Exception e,
java.lang.Class resourceClass,
java.lang.reflect.Method m,
Consumes c) |
static ContainerException |
ErrorHelper.badMethodHttpMethod(java.lang.Class resourceClass,
java.lang.reflect.Method m,
HttpMethod hm) |
static ContainerException |
ErrorHelper.badMethodProduces(java.lang.Exception e,
java.lang.Class resourceClass,
java.lang.reflect.Method m,
Produces p) |
static ContainerException |
ErrorHelper.objectNotAWebResource(java.lang.Class resourceClass) |
| Modifier and Type | Class and Description |
|---|---|
class |
ExtractorContainerException
A runtime exception that contains a cause, a checked or runtime exception,
that may be passed to the cause of a
WebApplicationException. |
| 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 © 2015 Oracle Corporation. All Rights Reserved.