Package org.glassfish.jersey.server.model

Jersey server-side application & resource modeling classes.

See:
          Description

Interface Summary
Consuming Model component that is able to consume media types.
Parameterized Used in the resource model to capture information on method parameters.
Producing Model component that is able to produce media types.
ResourceModelComponent Marker interface for all abstract resource model components, so that they can be traversed using a visitor pattern.
ResourceModelContext Abstraction for abstract resources enclosed within a specific context (such as an application).
ResourceModelListener To get notifications on abstract resource model events, implement this interface and register your implementation class with the corresponding application.
ResourceModelVisitor Following the visitor pattern, this interface allows implementing processors traversing all abstract model components present in a given model.
Routed Marker interface for all resource model components that contain path information usable for routing.
Suspendable Jersey model component that is suspendable and may hold suspend-related information.
 

Class Summary
AnnotatedMethod Annotated method representation.
BasicValidator Performs a basic check on abstract resources.
HandlerConstructor Abstraction for a resource handler class constructor.
Inflecting<T> Inflector provider resource model component.
Invocable A common interface for invocable resource components.
MethodHandler Resource method handler model.
Parameter Method parameter model.
Resource Model of a single resource component.
Resource.Builder Resource model component builder.
ResourceMethod Model of a method available on a resource.
ResourceMethod.Builder Resource method model builder.
ResourceMethodConfig Default config for resource methods.
ResourceMethodInvoker Server-side request-response inflector for invoking methods of annotation-based resource classes.
ResourceMethodInvoker.Builder Resource method invoker "assisted" injection helper.
ResourceModelIssue Resource model validity issue.
ResourceModelValidator An abstract resource model validator.
 

Enum Summary
Parameter.Source Parameter injection sources type.
ResourceMethod.JaxrsType Resource method classification based on the recognized JAX-RS resource method types.
 

Exception Summary
ModelValidationException Resource model validation exception.
 

Annotation Types Summary
ParamQualifier A meta-annotation that identifies an annotation as a parameter-based annotation.
 

Package org.glassfish.jersey.server.model Description

Jersey server-side application & resource modeling classes.

The classes from this package provide means to model and build Jersey applications based on both declarative and programmatic approach. An application could be built based on a set of JAX-RS annotated classes (standard, declarative way) or using Jersey specific programmatic API, where you are not constrained to Java reflection API and can freely bind Java code to serve a HTTP method for a given URI. Both methods could be combined, so that you can e.g. dynamically add a new resource method to an existing JAX-RS resource class.



Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.