Package javax.ws.rs.core
Low-level interfaces and annotations used to create RESTful service
resources.
-
Interface Summary Interface Description HttpHeaders An injectable interface that provides access to HTTP header information.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 java.lang.IllegalStateException 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 Application Defines the components of a JAX-RS application and supplies additional metadata.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.GenericEntity<T> Represents a response entity of a generic typeT
.MediaType An abstraction for a media type.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 metadata 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 UriBuilderException A runtime exception thrown byUriBuilder.build(java.lang.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.