Uses of Class
javax.ws.rs.core.Response.Status
-
Packages that use Response.Status 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. -
-
Uses of Response.Status in javax.ws.rs
Constructors in javax.ws.rs with parameters of type Response.Status Constructor Description WebApplicationException(java.lang.Throwable cause, Response.Status status)
Construct a new instance with a blank message and specified HTTP status codeWebApplicationException(Response.Status status)
Construct a new instance with a blank message and specified HTTP status code -
Uses of Response.Status in javax.ws.rs.core
Methods in javax.ws.rs.core that return Response.Status Modifier and Type Method Description static Response.Status
Response.Status. fromStatusCode(int statusCode)
Convert a numerical status code into the corresponding Statusstatic Response.Status
Response.Status. valueOf(java.lang.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.Methods in javax.ws.rs.core with parameters of type Response.Status Modifier and Type Method Description Response.ResponseBuilder
Response.ResponseBuilder. status(Response.Status status)
Set the status on the ResponseBuilder.static Response.ResponseBuilder
Response. status(Response.Status status)
Create a new ResponseBuilder with the supplied status.
-