Package org.glassfish.jersey.server.model
package org.glassfish.jersey.server.model
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.
-
ClassDescriptionAbstract implementation of
resource model visitor
containing empty implementations of interface methods.Annotated method representation.A resource model validator that checks the given resource model.Model component that is able to consume media types.This annotation can mark resource classes or resource methods that should be considered as extended resources.Abstraction for a resource handler class constructor.Inflecting<T>Inflector provider resource model component.A common interface for invocable resource components.Resource method handler model.Iterable list of methods on a single class with convenience getters for additional method information.Method list filter.Contract for a model processors that processesresource models
during application initialization andresource
returned by sub resource locators.Resource model validation exception.Method parameter model.Bean Parameter class represents a parameter annotated withBeanParam
which in fact represents additional set of parameters.Used in the resource model to capture information on method parameters.A meta-annotation that identifies an annotation as a parameter-based annotation.Model component that is able to produce media types.Model of a single resource component.Resource model component builder.Model of a method available on a resource.Resource method model builder.Resource method classification based on the recognized JAX-RS resource method types.Server-side request-responseinflector
for invoking methods of annotation-based resource classes.Resource method invoker helper.Resource model of the deployed application which contains set of root resources.Builder used to createresource model
instances.Marker interface for all abstract resource model components, so that they can be traversed using a visitor pattern.Resource model validity issue.Following the visitor pattern, this interface allows implementing processors traversing all abstract model components present in a given model.Marker interface for all resource model components that contain path information usable for routing.Runtime Resource model contains structured information about runtime resources.Runtime resource model validator validating ambiguity of resource methods.Jersey model component that is suspendable and may hold suspend-related information.