Package jakarta.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 in JAX-RS.
    Configuration
    A configuration state associated with a configurable JAX-RS context.
    Feature
    A feature extension contract.
    FeatureContext
    A configurable context passed to Feature and DynamicFeature instances by JAX-RS 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 an 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 a Response 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 a MultivaluedMap that is backed by a [key, multi-value] store represented as a Map<K, List<V>>.
    Application
    Defines the components of a JAX-RS 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 type T.
    GenericType<T>
    Represents a generic message entity type T.
    Link
    Class representing hypermedia links.
    Link.JaxbAdapter
    An implementation of JAXB XmlAdapter that maps the JAX-RS Link type to a value that can be marshalled and unmarshalled by JAXB.
    Link.JaxbLink
    Value type for Link that can be marshalled and unmarshalled by JAXB.
    MediaType
    An abstraction for a media type.
    MultivaluedHashMap<K,​V>
    A hash table based implementation of MultivaluedMap 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 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 by MessageBodyReader 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 by UriBuilder.build(Object...) methods when a URI 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.