Package org.glassfish.jersey.server.model

Jersey server-side application & resource modeling classes.

See:
          Description

Interface Summary
ConsumesProducesEnabledComponent  
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.
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.
 

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.
AbstractJavaResourceMethodDispatcherProvider An abstract implementation of ResourceMethodDispatcher.Provider that creates instances of ResourceMethodDispatcher.
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.
MethodParamDispatcherProvider Resource method dispatcher provider that creates factories for method parameter injection.
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
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.
RuntimeModelFromSubResource TODO: unify with RuntimeModelProvider to a RuntimeModel- or TreeAcceptor- Builder.
RuntimeModelProvider TODO: unify with RuntimeModelProviderFromAbstractModel to a RuntimeModel- or TreeAcceptor- Builder.
RuntimeModelProviderFromAbstractModel TODO: unify with RuntimeModelProvider to a RuntimeModel- or TreeAcceptor- Builder.
SubResourceLocator Abstraction for a sub-resource locator
SubResourceLocatorAcceptor  
SubResourceMethod Abstraction for a sub-resource method
 

Enum Summary
Parameter.Source  
 

Exception Summary
ResourceModelValidator.ModelException  
 

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.