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.grizzly2 | |
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(Class<A> type,
Class<?>... resourceClasses)
Create a container according to the class requested.
|
static <A> A |
ContainerFactory.createContainer(Class<A> type,
ResourceConfig resourceConfig)
Create a container according to the class requested.
|
static <A> A |
ContainerFactory.createContainer(Class<A> type,
ResourceConfig resourceConfig,
IoCComponentProviderFactory factory)
Create a container according to the class requested.
|
static <A> A |
ContainerFactory.createContainer(Class<A> type,
Set<Class<?>> resourceClasses)
Create a container according to the class requested.
|
static <A> A |
ContainerFactory.createContainer(Class<A> type,
String packageName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ResourceContext.getResource(Class<T> c)
Provides an instance of the given resource class.
|
Object |
ResourceContext.matchResource(URI u)
Match a URI to a resource instance.
|
<T> T |
ResourceContext.matchResource(URI u,
Class<T> c)
Match a URI to a resource instance.
|
ExtendedUriInfo |
ResourceContext.matchUriInfo(URI u)
Match a URI to URI information.
|
Modifier and Type | Method and Description |
---|---|
WebApplication |
WebApplicationProviderImpl.createWebApplication() |
Modifier and Type | Method and Description |
---|---|
GrizzlyContainer |
GrizzlyContainerProvider.createContainer(Class<org.glassfish.grizzly.http.server.HttpHandler> type,
ResourceConfig resourceConfig,
WebApplication application)
Create an container of type T.
|
Modifier and Type | Method and Description |
---|---|
com.sun.net.httpserver.HttpHandler |
HttpHandlerContainerProvider.createContainer(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(Exception e,
Class resourceClass,
javax.ws.rs.Consumes c) |
static ContainerException |
ErrorHelper.badClassProduces(Exception e,
Class resourceClass,
javax.ws.rs.Produces p) |
static ContainerException |
ErrorHelper.badMethodConsumes(Exception e,
Class resourceClass,
Method m,
javax.ws.rs.Consumes c) |
static ContainerException |
ErrorHelper.badMethodHttpMethod(Class resourceClass,
Method m,
javax.ws.rs.HttpMethod hm) |
static ContainerException |
ErrorHelper.badMethodProduces(Exception e,
Class resourceClass,
Method m,
javax.ws.rs.Produces p) |
static ContainerException |
ErrorHelper.objectNotAWebResource(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(Class<T> type,
ResourceConfig resourceConfig,
WebApplication application)
Create an container of type T.
|
static WebApplication |
WebApplicationFactory.createWebApplication()
Create a Web application instance.
|
WebApplication |
WebApplicationProvider.createWebApplication()
Instantiate a new
WebApplication . |
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 © 2013 Oracle Corporation. All rights reserved.