| Package | Description | 
|---|---|
| javax.ws.rs | High-level interfaces and annotations used to create RESTful service
 resources. | 
| javax.ws.rs.core | Low-level interfaces and annotations used to create RESTful service
 resources. | 
| javax.ws.rs.ext | APIs that provide extensions to the types supported by the API. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | BadRequestException | A runtime exception indicating a  bad client request. | 
| class  | ClientErrorException | A base runtime application exception indicating a client request error
 (HTTP  4xxstatus codes). | 
| class  | ForbiddenException | A runtime exception indicating that an access to a resource requested by
 a client has been  forbiddenby the server. | 
| class  | InternalServerErrorException | A runtime exception indicating an  internal server error. | 
| class  | NotAcceptableException | A runtime exception indicating that a client request is
  not acceptableby the server. | 
| class  | NotAllowedException | A runtime exception indicating a client requesting a resource method that is
  not allowed. | 
| class  | NotAuthorizedException | A runtime exception indicating request authorization failure caused by one of the following
 scenarios:
 
 
 a client did not send the required authorization credentials to access the requested resource,
 i.e. | 
| class  | NotFoundException | A runtime exception indicating a resource requested by a client was
  not foundon the server. | 
| class  | NotSupportedException | A runtime exception indicating that the client request entity media type is
  not supported. | 
| class  | RedirectionException | A runtime application exception indicating a request redirection
 (HTTP  3xxstatus codes). | 
| class  | ServerErrorException | A base runtime application exception indicating a server error
 (HTTP  5xxstatus codes). | 
| class  | ServiceUnavailableException | A runtime exception indicating that the requested resource
  cannot be served. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | StreamingOutput. write(OutputStream output) | Called to write the message body. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Object | ReaderInterceptor. aroundReadFrom(ReaderInterceptorContext context) | |
| void | WriterInterceptor. aroundWriteTo(WriterInterceptorContext context) | |
| Object | ReaderInterceptorContext. proceed() | Proceed to the next interceptor in the chain. | 
| void | WriterInterceptorContext. proceed() | Proceed to the next interceptor in the chain. | 
| T | MessageBodyReader. readFrom(Class<T> type,
        Type genericType,
        Annotation[] annotations,
        MediaType mediaType,
        MultivaluedMap<String,String> httpHeaders,
        InputStream entityStream) | Read a type from the  InputStream. | 
| void | MessageBodyWriter. writeTo(T t,
       Class<?> type,
       Type genericType,
       Annotation[] annotations,
       MediaType mediaType,
       MultivaluedMap<String,Object> httpHeaders,
       OutputStream entityStream) | Write a type to an HTTP message. | 
Copyright (c) 2019 Eclipse Foundation. Licensed under Eclipse Foundation Specification License.