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 JAX-RS API.
|
Modifier and Type | Method | Description |
---|---|---|
Response |
WebApplicationException.getResponse() |
Get the HTTP response.
|
Constructor | Description |
---|---|
WebApplicationException(Throwable cause,
Response response) |
Construct a new instance using the supplied response
|
WebApplicationException(Response response) |
Construct a new instance using the supplied response
|
Modifier and Type | Method | Description |
---|---|---|
abstract Response |
Response.ResponseBuilder.build() |
Create a Response instance from the current ResponseBuilder.
|
Modifier and Type | Method | Description |
---|---|---|
static Response.ResponseBuilder |
Response.fromResponse(Response response) |
Create a new ResponseBuilder by performing a shallow copy of an
existing Response.
|
Modifier and Type | Method | Description |
---|---|---|
Response |
ExceptionMapper.toResponse(E exception) |
Map an exception to a
Response . |
Copyright © 2019 Sun Microsystems, Inc. All rights reserved.