| Package | Description |
|---|---|
| org.glassfish.jersey.server |
Jersey server-side classes.
|
| org.glassfish.jersey.server.internal.routing |
Jersey server-side internal resource routing classes.
|
| org.glassfish.jersey.server.model |
Jersey server-side application & resource modeling classes.
|
| org.glassfish.jersey.server.wadl | |
| org.glassfish.jersey.server.wadl.internal | |
| org.glassfish.jersey.server.wadl.internal.generators | |
| org.glassfish.jersey.server.wadl.internal.generators.resourcedoc |
| Modifier and Type | Method and Description |
|---|---|
Resource |
ExtendedUriInfo.getMatchedModelResource()
Get matched
model resource from which the matched resource method
was invoked. |
| Modifier and Type | Method and Description |
|---|---|
Set<Resource> |
ServerConfig.getResources()
Get programmatically modeled resources.
|
Set<Resource> |
ResourceConfig.getResources() |
| Modifier and Type | Method and Description |
|---|---|
ResourceConfig |
ResourceConfig.registerResources(Resource... resources)
Register new programmatic resource models in the
ResourceConfig. |
| Modifier and Type | Method and Description |
|---|---|
ResourceConfig |
ResourceConfig.registerResources(Set<Resource> resources)
Register new resource models in the
ResourceConfig. |
| Modifier and Type | Method and Description |
|---|---|
void |
RoutingContext.setMatchedResource(Resource resource)
Set the matched
resource or child resource. |
| Modifier and Type | Method and Description |
|---|---|
Resource |
Resource.Builder.build()
Build a new resource model.
|
static Resource |
Resource.from(Class<?> resourceClass)
Create a resource model initialized by introspecting an annotated
JAX-RS resource class.
|
Resource |
RuntimeResource.getFirstParentResource(Resource resource)
Return parent
resource of the resource which is grouped in this runtime resource. |
| Modifier and Type | Method and Description |
|---|---|
List<Resource> |
Resource.getChildResources()
Returns the list of child resources available on this resource.
|
List<Resource> |
RuntimeResource.getParentResources()
|
Set<Resource> |
ResourceModelContext.getResourceModels()
Get a set of all resource models known within this context.
|
List<Resource> |
RuntimeResource.getResources()
Get resources creating this runtime resource.
|
List<Resource> |
ResourceModel.getResources()
Return all resources from this
resource model. |
List<Resource> |
ResourceModel.getRootResources()
Return root resources from this
resource model. |
| Modifier and Type | Method and Description |
|---|---|
void |
Resource.Builder.addChildResource(Resource resource)
Add an existing Resource as a child resource of current resource.
|
ResourceModel.Builder |
ResourceModel.Builder.addResource(Resource resource)
Add a resource to the builder.
|
static Resource.Builder |
Resource.builder(Resource resource)
Get a new resource model builder initialized from a given resource model.
|
Resource |
RuntimeResource.getFirstParentResource(Resource resource)
Return parent
resource of the resource which is grouped in this runtime resource. |
Resource.Builder |
Resource.Builder.mergeWith(Resource resource)
Merge methods from a given resource model into this resource model builder.
|
void |
ResourceModelVisitor.visitChildResource(Resource resource)
Start visiting a single child resource model.
|
void |
AbstractResourceModelVisitor.visitChildResource(Resource resource) |
void |
ResourceModelVisitor.visitResource(Resource resource)
Start visiting a single resource model.
|
void |
AbstractResourceModelVisitor.visitResource(Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
static Resource.Builder |
Resource.builder(List<Resource> resources)
Creates a
resource builder instance from the list of resource which can be merged
into a single resource. |
| Constructor and Description |
|---|
ResourceModel.Builder(List<Resource> resources,
boolean subResourceModel)
Create new builder pre initialized with
resource. |
RuntimeResourceModel(List<Resource> resources)
Creates new runtime resource model from the list of resources.
|
| Modifier and Type | Method and Description |
|---|---|
Method |
WadlGenerator.createMethod(Resource r,
ResourceMethod m) |
Param |
WadlGenerator.createParam(Resource r,
ResourceMethod m,
Parameter p) |
Request |
WadlGenerator.createRequest(Resource r,
ResourceMethod m) |
Representation |
WadlGenerator.createRequestRepresentation(Resource r,
ResourceMethod m,
MediaType mediaType) |
Resource |
WadlGenerator.createResource(Resource r,
String path) |
List<Response> |
WadlGenerator.createResponses(Resource r,
ResourceMethod m) |
Application |
WadlApplicationContext.getApplication(UriInfo info,
Resource resource)
Get a new instance of
Application for a particular resource |
| Modifier and Type | Method and Description |
|---|---|
Method |
WadlGeneratorImpl.createMethod(Resource r,
ResourceMethod m) |
Param |
WadlGeneratorImpl.createParam(Resource r,
ResourceMethod m,
Parameter p) |
Request |
WadlGeneratorImpl.createRequest(Resource r,
ResourceMethod m) |
Representation |
WadlGeneratorImpl.createRequestRepresentation(Resource r,
ResourceMethod m,
MediaType mediaType) |
Resource |
WadlGeneratorImpl.createResource(Resource r,
String path) |
Representation |
WadlGeneratorImpl.createResponseRepresentation(Resource r,
ResourceMethod m,
MediaType mediaType) |
List<Response> |
WadlGeneratorImpl.createResponses(Resource r,
ResourceMethod m) |
Application |
WadlBuilder.generate(ApplicationDescription description,
Resource resource)
Generate WADL for a resource.
|
Application |
WadlApplicationContextImpl.getApplication(UriInfo info,
Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
ApplicationDescription |
WadlBuilder.generate(List<Resource> resources)
Generate WADL for a set of resources.
|
| Modifier and Type | Method and Description |
|---|---|
Method |
WadlGeneratorResourceDocSupport.createMethod(Resource resource,
ResourceMethod resourceMethod) |
Param |
WadlGeneratorResourceDocSupport.createParam(Resource r,
ResourceMethod m,
Parameter p) |
Request |
WadlGeneratorResourceDocSupport.createRequest(Resource r,
ResourceMethod m) |
Representation |
WadlGeneratorResourceDocSupport.createRequestRepresentation(Resource r,
ResourceMethod m,
MediaType mediaType) |
Resource |
WadlGeneratorResourceDocSupport.createResource(Resource r,
String path) |
List<Response> |
WadlGeneratorResourceDocSupport.createResponses(Resource r,
ResourceMethod m) |
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.