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 and Description |
---|---|
Response |
WebApplicationException.getResponse()
Get the HTTP response.
|
Constructor and Description |
---|
WebApplicationException(Response response)
Construct a new instance using the supplied response
|
WebApplicationException(Throwable cause,
Response response)
Construct a new instance using the supplied response
|
Modifier and Type | Method and Description |
---|---|
abstract Response |
Response.ResponseBuilder.build()
Create a Response instance from the current ResponseBuilder.
|
Modifier and Type | Method and 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 and Description |
---|---|
Response |
ExceptionMapper.toResponse(E exception)
Map an exception to a
Response . |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.