Low-level interfaces and annotations used to create RESTful service resources.
Interface Summary Interface Description Configurable<C extends Configurable>Represents a client or server-side configurable context in JAX-RS. ConfigurationA configuration state associated with a
FeatureA feature extension contract. FeatureContext HttpHeadersAn injectable interface that provides access to HTTP header information. Link.BuilderBuilder class for hypermedia links. MultivaluedMap<K,V>A map of key-values pairs. PathSegmentRepresents a URI path segment and any associated matrix parameters. RequestAn injectable helper for request processing, all methods throw an
IllegalStateExceptionif called outside the scope of a request (e.g. from a provider constructor).
Response.StatusTypeBase interface for statuses used in responses. SecurityContextAn injectable interface that provides access to security related information. StreamingOutputA type that may be used as a resource method return value or as the entity in a
Responsewhen the application wishes to stream the output.
UriInfoAn injectable interface that provides access to application and request URI information.
Class Summary Class Description AbstractMultivaluedMap<K,V>Abstract skeleton implementation of a
MultivaluedMapthat is backed by a [key, multi-value] store represented as a
ApplicationDefines the components of a JAX-RS application and supplies additional meta-data. CacheControlAn abstraction for the value of a HTTP Cache-Control response header. CookieRepresents the value of a HTTP cookie, transferred in a request. EntityTagAn abstraction for the value of a HTTP Entity Tag, used as the value of an ETag response header. FormRepresents the the HTML form data request entity encoded using the
GenericEntity<T>Represents a message entity of a generic type
GenericType<T>Represents a generic message entity type
LinkClass representing hypermedia links. Link.JaxbAdapter Link.JaxbLinkValue type for
Linkthat can be marshalled and unmarshalled by JAXB.
MediaTypeAn abstraction for a media type. MultivaluedHashMap<K,V>A hash table based implementation of
NewCookieUsed to create a new HTTP cookie, transferred in a response. ResponseDefines the contract between a returned instance and the runtime when an application needs to provide meta-data to the runtime. Response.ResponseBuilderA class used to build Response instances that contain metadata instead of or in addition to an entity. UriBuilderURI template-aware utility class for building URIs from their components. VariantAbstraction for a resource representation variant. Variant.VariantListBuilderA builder for a list of representation variants.
Enum Summary Enum Description Response.StatusCommonly used status codes defined by HTTP, see HTTP/1.1 documentation for the complete list. Response.Status.FamilyAn enumeration representing the class of status code.
Exception Summary Exception Description NoContentExceptionAn I/O exception thrown by
MessageBodyReaderimplementations when reading a zero-length message content to indicate that the message body reader is not able to produce an instance representing an zero-length message content.
UriBuilderExceptionA runtime exception thrown by
UriBuilder.build(Object...)methods when a
URIcannot be constructed based on the current state of the builder.
Annotation Types Summary Annotation Type Description ContextThis annotation is used to inject information into a class field, bean property or method parameter.