Package org.glassfish.jersey.server.model

Jersey server-side application & resource modeling classes.

See:
          Description

Interface Summary
ConsumesProducesEnabledComponent Jersey model component that may contain consumes and produces information.
InvocableResourceMethod A common interface for resource methods, sub-resource methods and sub-resource locators directly bound to a concrete Java method.
Parameterized Used in the resource model to capture information on method parameters.
PathAnnotated Marker interface for all path annotated resource model components.
ResourceBuilder TODO fix javadoc.
ResourceBuilder.BoundResourceBuilder Represents a supported resource path to which new resource methods and sub-resource locators can be attached.
ResourceBuilder.ResourceMethodBuilder Jersey application builder used for binding a new resource method to an Inflector<Request, Response> responsible for processing requests targeted at the bound path and the particular method(s).
ResourceModelComponent Marker interface for all abstract resource model components, so that they are traversable using the 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.
SuspendableComponent Jersey model component that is suspendable and may hold suspend-related information.
 

Class Summary
AbstractJavaResourceMethodDispatcher Abstract resource method dispatcher that provides skeleton implementation of dispatching requests to a particular Java method using supplied Java method invocation handler.
AbstractResourceMethod Abstraction for a resource method defined by a HTTP method and consumed/produced media type list.
AbstractSubResourceMethod Abstraction for a sub-resource method defined by an URI path value, HTTP method and consumed/produced media type list.
BasicValidator Performs a basic check on abstract resources.
InflectorBasedResourceMethod Models a dynamically created resource method.
IntrospectionModeller Utility class for constructing resource model from JAX-RS annotated POJO.
Parameter Abstraction for a method parameter
PathValue Abstraction for a Path value
ResourceClass Abstraction for resource class
ResourceConstructor Abstraction for a resource class constructor
ResourceMethod Abstraction for a resource method
ResourceMethodInvoker Server-side request-response inflector for invoking methods of annotation-based resource classes.
ResourceMethodInvoker.Builder Resource method invoker "assisted" injection helper.
ResourceModelIssue Abstraction for various issues of a resource model validity like: no resources, duplicated uri templates, etc.
ResourceModelModule Configures injection bindings for resource modeling API.
ResourceModelValidator Resource model validator allows to check validity of a resource model.
RuntimeModelProvider TODO: unify with RuntimeModelProviderFromAbstractModel to a RuntimeModel- or TreeAcceptor- Builder.
SubResourceLocator Abstraction for a sub-resource locator
SubResourceMethod Abstraction for a sub-resource method
 

Enum Summary
Parameter.Source  
 

Exception Summary
ResourceModelValidator.ModelException Resource model 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 pacakage 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.