Package javax.ws.rs.core
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.Configuration A configuration state associated with aconfigurable
context.Feature A feature extension contract.FeatureContext A configurable context passed toFeature
andDynamicFeature
instances by the runtime during the phase of their configuration.HttpHeaders An injectable interface that provides access to HTTP header information.Link.Builder Builder class for hypermedia links.MultivaluedMap<K,V> A map of key-values pairs.PathSegment Represents a URI path segment and any associated matrix parameters.Request An injectable helper for request processing, all methods throw anIllegalStateException
if called outside the scope of a request (e.g.Response.StatusType Base interface for statuses used in responses.SecurityContext An injectable interface that provides access to security related information.StreamingOutput A type that may be used as a resource method return value or as the entity in aResponse
when the application wishes to stream the output.UriInfo An injectable interface that provides access to application and request URI information. -
Class Summary Class Description AbstractMultivaluedMap<K,V> Abstract skeleton implementation of aMultivaluedMap
that is backed by a [key, multi-value] store represented as aMap<K, List<V>>
.Application Defines the components of an application and supplies additional meta-data.CacheControl An abstraction for the value of a HTTP Cache-Control response header.Cookie Represents the value of a HTTP cookie, transferred in a request.EntityTag An abstraction for the value of a HTTP Entity Tag, used as the value of an ETag response header.Form Represents the the HTML form data request entity encoded using the"application/x-www-form-urlencoded"
content type.GenericEntity<T> Represents a message entity of a generic typeT
.GenericType<T> Represents a generic message entity typeT
.Link Class representing hypermedia links.Link.JaxbAdapter An implementation of JAXBXmlAdapter
that maps theLink
type to a value that can be marshalled and unmarshalled by JAXB.Link.JaxbLink Value type forLink
that can be marshalled and unmarshalled by JAXB.MediaType An abstraction for a media type.MultivaluedHashMap<K,V> A hash table based implementation ofMultivaluedMap
interface.NewCookie Used to create a new HTTP cookie, transferred in a response.Response Defines the contract between a returned instance and the runtime when an application needs to provide meta-data to the runtime.Response.ResponseBuilder A class used to build Response instances that contain metadata instead of or in addition to an entity.UriBuilder URI template-aware utility class for building URIs from their components.Variant Abstraction for a resource representation variant.Variant.VariantListBuilder A builder for a list of representation variants. -
Enum Summary Enum Description Response.Status Commonly used status codes defined by HTTP, see {@link HTTP/1.1 documentation} for the complete list.Response.Status.Family An enumeration representing the class of status code. -
Exception Summary Exception Description NoContentException An I/O exception thrown byMessageBodyReader
implementations 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.UriBuilderException A runtime exception thrown byUriBuilder.build(Object...)
methods when aURI
cannot be constructed based on the current state of the builder. -
Annotation Types Summary Annotation Type Description Context This annotation is used to inject information into a class field, bean property or method parameter.