| Package | Description |
|---|---|
| com.sun.jersey.core.spi.factory |
Provides support for factories of particular component types.
|
| javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
| Modifier and Type | Method and Description |
|---|---|
Response.StatusType |
ResponseImpl.getStatusType()
Get the status type.
|
static Response.StatusType |
ResponseImpl.toStatusType(int statusCode) |
| Modifier and Type | Method and Description |
|---|---|
Response.ResponseBuilder |
ResponseBuilderImpl.status(Response.StatusType status) |
| Constructor and Description |
|---|
ResponseImpl(Response.StatusType statusType,
OutBoundHeaders headers,
java.lang.Object entity,
java.lang.reflect.Type entityType)
Construct given a status type, entity and metadata.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Response.Status
Commonly used status codes defined by HTTP, see
HTTP/1.1 documentation
for the complete list.
|
| Modifier and Type | Method and Description |
|---|---|
static Response.ResponseBuilder |
Response.status(Response.StatusType status)
Create a new ResponseBuilder with the supplied status.
|
Response.ResponseBuilder |
Response.ResponseBuilder.status(Response.StatusType status)
Set the status on the ResponseBuilder.
|
Copyright © 2014 Oracle Corporation. All Rights Reserved.