Uses of Enum
javax.ws.rs.core.Response.Status
Packages that use Response.Status
Package
Description
High-level interfaces and annotations used to create RESTful service
resources.
Low-level interfaces and annotations used to create RESTful service
resources.
-
Uses of Response.Status in javax.ws.rs
Methods in javax.ws.rs with parameters of type Response.StatusModifier and TypeMethodDescription(package private) static ResponseWebApplicationException.validate(Response response, Response.Status expectedStatus) Validate that aResponseobject has an expected HTTP response status code set.Constructors in javax.ws.rs with parameters of type Response.StatusModifierConstructorDescriptionClientErrorException(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.ClientErrorException(Response.Status status) Construct a new client error exception.ClientErrorException(Response.Status status, Throwable cause) Construct a new client error exception.RedirectionException(String message, Response.Status status, URI location) Construct a new redirection exception.RedirectionException(Response.Status status, URI location) Construct a new redirection 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.ServerErrorException(Response.Status status) Construct a new server error exception.ServerErrorException(Response.Status status, Throwable cause) Construct a new server error exception.WebApplicationException(String message, Throwable cause, Response.Status status) Construct a new instance with a the supplied message, root cause and HTTP status code.WebApplicationException(String message, Response.Status status) Construct a new instance with the supplied message and HTTP status.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.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. -
Uses of Response.Status in javax.ws.rs.core
Subclasses with type arguments of type Response.Status in javax.ws.rs.coreModifier and TypeClassDescriptionstatic enumCommonly used status codes defined by HTTP, seedocumentation} for the complete list.invalid @link
{@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10">HTTP/1.1Methods in javax.ws.rs.core that return Response.StatusModifier and TypeMethodDescriptionstatic Response.StatusResponse.Status.fromStatusCode(int statusCode) Convert a numerical status code into the corresponding Status.default Response.StatusResponse.StatusType.toEnum()Get the this Status Type as aResponse.Status.static Response.StatusReturns 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.Methods in javax.ws.rs.core with parameters of type Response.StatusModifier and TypeMethodDescriptionResponse.ResponseBuilder.status(Response.Status status) Set the status on the ResponseBuilder.static Response.ResponseBuilderResponse.status(Response.Status status) Create a new ResponseBuilder with the supplied status.