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.
|
org.glassfish.jersey.server.mvc.spi |
Provides support for view aspect of model view controller and templates that
produce views.
|
org.glassfish.jersey.server.oauth1 |
Jersey OAuth 1 Server API.
|
Constructor and Description |
---|
ClientErrorException(Response.Status status)
Construct a new client error exception.
|
ClientErrorException(Response.Status status,
Throwable cause)
Construct a new client error exception.
|
ClientErrorException(String message,
Response.Status status)
Construct a new client error exception.
|
ClientErrorException(String message,
Response.Status status,
Throwable cause)
Construct a new client error exception.
|
RedirectionException(Response.Status status,
URI location)
Construct a new redirection exception.
|
RedirectionException(String message,
Response.Status status,
URI location)
Construct a new redirection exception.
|
ServerErrorException(Response.Status status)
Construct a new server error exception.
|
ServerErrorException(Response.Status status,
Throwable cause)
Construct a new server error exception.
|
ServerErrorException(String message,
Response.Status status)
Construct a new server error exception.
|
ServerErrorException(String message,
Response.Status status,
Throwable cause)
Construct a new server error exception.
|
WebApplicationException(Response.Status status)
Construct a new instance with the supplied HTTP status
and a default message generated from the HTTP status code and the associated HTTP status reason phrase.
|
WebApplicationException(String message,
Response.Status status)
Construct a new instance with the supplied message and HTTP status.
|
WebApplicationException(String message,
Throwable cause,
Response.Status status)
Construct a new instance with a the supplied message, root cause and HTTP status code.
|
WebApplicationException(Throwable cause,
Response.Status status)
Construct a new instance with the supplied root cause, HTTP status code
and a default message generated from the HTTP status code and the associated HTTP status reason phrase.
|
Modifier and Type | Method and Description |
---|---|
static Response.Status |
Response.Status.fromStatusCode(int statusCode)
Convert a numerical status code into the corresponding Status.
|
static Response.Status |
Response.Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Response.Status[] |
Response.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Response.ResponseBuilder |
Response.status(Response.Status status)
Create a new ResponseBuilder with the supplied status.
|
Response.ResponseBuilder |
Response.ResponseBuilder.status(Response.Status status)
Set the status on the ResponseBuilder.
|
Modifier and Type | Method and Description |
---|---|
protected Response.Status |
AbstractErrorTemplateMapper.getErrorStatus(T throwable)
Get a response status of to-be-processed error template.
|
Modifier and Type | Method and Description |
---|---|
Response.Status |
OAuth1Exception.getStatus()
Get the status of the error response.
|
Constructor and Description |
---|
OAuth1Exception(Response.Status status,
String wwwAuthHeader)
Create a new exception.
|
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.