Package | Description |
---|---|
javax.ws.rs |
High-level interfaces and annotations used to create RESTful service
resources.
|
javax.ws.rs.client |
The JAX-RS client API
|
javax.ws.rs.container |
Container-specific JAX-RS API.
|
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.
|
org.jboss.resteasy.client | |
org.jboss.resteasy.client.core | |
org.jboss.resteasy.client.jaxrs.internal | |
org.jboss.resteasy.core | |
org.jboss.resteasy.core.interception | |
org.jboss.resteasy.example.pubsub | |
org.jboss.resteasy.keystone.client | |
org.jboss.resteasy.keystone.server | |
org.jboss.resteasy.plugins.providers.jaxb | |
org.jboss.resteasy.plugins.providers.validation | |
org.jboss.resteasy.skeleton.key.idm.service | |
org.jboss.resteasy.skeleton.key.jaxrs | |
org.jboss.resteasy.specimpl | |
org.jboss.resteasy.spi | |
org.jboss.resteasy.springmvc | |
org.jboss.resteasy.test.application | |
org.jboss.resteasy.test.async |
Modifier and Type | Method and Description |
---|---|
Response |
WebApplicationException.getResponse()
Get the HTTP response.
|
Constructor and Description |
---|
BadRequestException(Response response)
Construct a new bad client request exception.
|
BadRequestException(Response response,
Throwable cause)
Construct a new bad client request exception.
|
BadRequestException(String message,
Response response)
Construct a new bad client request exception.
|
BadRequestException(String message,
Response response,
Throwable cause)
Construct a new bad client request exception.
|
ClientErrorException(Response response)
Construct a new client error exception.
|
ClientErrorException(Response response,
Throwable cause)
Construct a new client error exception.
|
ClientErrorException(String message,
Response response)
Construct a new client error exception.
|
ClientErrorException(String message,
Response response,
Throwable cause)
Construct a new client error exception.
|
ForbiddenException(Response response)
Construct a new "forbidden" exception.
|
ForbiddenException(Response response,
Throwable cause)
Construct a new "forbidden" exception.
|
ForbiddenException(String message,
Response response)
Construct a new "forbidden" exception.
|
ForbiddenException(String message,
Response response,
Throwable cause)
Construct a new "forbidden" exception.
|
InternalServerErrorException(Response response)
Construct a new internal server error exception.
|
InternalServerErrorException(Response response,
Throwable cause)
Construct a new internal server error exception.
|
InternalServerErrorException(String message,
Response response)
Construct a new internal server error exception.
|
InternalServerErrorException(String message,
Response response,
Throwable cause)
Construct a new internal server error exception.
|
NotAcceptableException(Response response)
Construct a new "request not acceptable" exception.
|
NotAcceptableException(Response response,
Throwable cause)
Construct a new "request not acceptable" exception.
|
NotAcceptableException(String message,
Response response)
Construct a new "request not acceptable" exception.
|
NotAcceptableException(String message,
Response response,
Throwable cause)
Construct a new "request not acceptable" exception.
|
NotAllowedException(Response response)
Construct a new method not allowed exception.
|
NotAllowedException(Response response,
Throwable cause)
Construct a new method not allowed exception.
|
NotAllowedException(String message,
Response response)
Construct a new method not allowed exception.
|
NotAllowedException(String message,
Response response,
Throwable cause)
Construct a new method not allowed exception.
|
NotAuthorizedException(Response response)
Construct a new "not authorized" exception.
|
NotAuthorizedException(Response response,
Throwable cause)
Construct a new "not authorized" exception.
|
NotAuthorizedException(String message,
Response response)
Construct a new "not authorized" exception.
|
NotAuthorizedException(String message,
Response response,
Throwable cause)
Construct a new "not authorized" exception.
|
NotFoundException(Response response)
Construct a new "not found" exception.
|
NotFoundException(Response response,
Throwable cause)
Construct a new "not found" exception.
|
NotFoundException(String message,
Response response)
Construct a new "not found" exception.
|
NotFoundException(String message,
Response response,
Throwable cause)
Construct a new "not found" exception.
|
NotSupportedException(Response response)
Construct a new unsupported media type exception.
|
NotSupportedException(Response response,
Throwable cause)
Construct a new unsupported media type exception.
|
NotSupportedException(String message,
Response response)
Construct a new unsupported media type exception.
|
NotSupportedException(String message,
Response response,
Throwable cause)
Construct a new unsupported media type exception.
|
RedirectionException(Response response)
Construct a new redirection exception.
|
RedirectionException(String message,
Response response)
Construct a new redirection exception.
|
ServerErrorException(Response response)
Construct a new server error exception.
|
ServerErrorException(Response response,
Throwable cause)
Construct a new server error exception.
|
ServerErrorException(String message,
Response response)
Construct a new server error exception.
|
ServerErrorException(String message,
Response response,
Throwable cause)
Construct a new server error exception.
|
ServiceUnavailableException(Response response)
Construct a new "service unavailable" exception.
|
ServiceUnavailableException(Response response,
Throwable cause)
Construct a new "service unavailable" exception.
|
ServiceUnavailableException(String message,
Response response)
Construct a new "service unavailable" exception.
|
ServiceUnavailableException(String message,
Response response,
Throwable cause)
Construct a new "service unavailable" exception.
|
WebApplicationException(Response response)
Construct a new instance using the supplied response.
|
WebApplicationException(String message,
Response response)
Construct a new instance using the supplied response.
|
WebApplicationException(String message,
Throwable cause,
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 |
---|---|
Response |
SyncInvoker.delete()
Invoke HTTP DELETE method for the current request synchronously.
|
Response |
SyncInvoker.get()
Invoke HTTP GET method for the current request synchronously.
|
Response |
ResponseProcessingException.getResponse()
Get the HTTP response for which the processing has failed.
|
Response |
SyncInvoker.head()
Invoke HTTP HEAD method for the current request synchronously.
|
Response |
Invocation.invoke()
Synchronously invoke the request and receive a response back.
|
Response |
SyncInvoker.method(String name)
Invoke an arbitrary method for the current request synchronously.
|
Response |
SyncInvoker.method(String name,
Entity<?> entity)
Invoke an arbitrary method for the current request synchronously.
|
Response |
SyncInvoker.options()
Invoke HTTP OPTIONS method for the current request synchronously.
|
Response |
SyncInvoker.post(Entity<?> entity)
Invoke HTTP POST method for the current request synchronously.
|
Response |
SyncInvoker.put(Entity<?> entity)
Invoke HTTP PUT method for the current request synchronously.
|
Response |
SyncInvoker.trace()
Invoke HTTP TRACE method for the current request synchronously.
|
Modifier and Type | Method and Description |
---|---|
Future<Response> |
AsyncInvoker.delete()
Invoke HTTP DELETE method for the current request asynchronously.
|
Future<Response> |
AsyncInvoker.get()
Invoke HTTP GET method for the current request asynchronously.
|
Future<Response> |
AsyncInvoker.head()
Invoke HTTP HEAD method for the current request asynchronously.
|
Future<Response> |
AsyncInvoker.head(InvocationCallback<Response> callback)
Invoke HTTP HEAD method for the current request asynchronously.
|
Future<Response> |
AsyncInvoker.method(String name)
Invoke an arbitrary method for the current request asynchronously.
|
Future<Response> |
AsyncInvoker.method(String name,
Entity<?> entity)
Invoke an arbitrary method for the current request asynchronously.
|
Future<Response> |
AsyncInvoker.options()
Invoke HTTP OPTIONS method for the current request asynchronously.
|
Future<Response> |
AsyncInvoker.post(Entity<?> entity)
Invoke HTTP POST method for the current request asynchronously.
|
Future<Response> |
AsyncInvoker.put(Entity<?> entity)
Invoke HTTP PUT method for the current request asynchronously.
|
Future<Response> |
Invocation.submit()
Submit the request for an asynchronous invocation and receive a future
response back.
|
Future<Response> |
AsyncInvoker.trace()
Invoke HTTP TRACE method for the current request asynchronously.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientRequestContext.abortWith(Response response)
Abort the filter chain with a response.
|
Modifier and Type | Method and Description |
---|---|
Future<Response> |
AsyncInvoker.head(InvocationCallback<Response> callback)
Invoke HTTP HEAD method for the current request asynchronously.
|
Constructor and Description |
---|
ResponseProcessingException(Response response,
String message)
Constructs a new JAX-RS runtime processing exception with the specified detail
message.
|
ResponseProcessingException(Response response,
String message,
Throwable cause)
Constructs a new JAX-RS runtime response processing exception with the specified detail
message and cause.
|
ResponseProcessingException(Response response,
Throwable cause)
Constructs a new JAX-RS runtime response processing exception
for a specific
response with the specified cause
and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause ). |
Modifier and Type | Method and Description |
---|---|
void |
ContainerRequestContext.abortWith(Response response)
Abort the filter chain with a 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 . |
Modifier and Type | Class and Description |
---|---|
class |
ClientResponse<T>
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseClientResponse<T> |
Modifier and Type | Class and Description |
---|---|
class |
AbortedResponse |
Modifier and Type | Field and Description |
---|---|
protected Response |
ClientRequestContextImpl.abortedWithResponse |
Modifier and Type | Method and Description |
---|---|
Response |
ClientInvocationBuilder.delete() |
Response |
ClientInvocationBuilder.get() |
Response |
ClientRequestContextImpl.getAbortedWithResponse() |
Response |
ClientInvocationBuilder.head() |
Response |
ClientInvocation.invoke() |
Response |
ClientInvocationBuilder.method(String name) |
Response |
ClientInvocationBuilder.method(String name,
Entity<?> entity) |
Response |
ClientInvocationBuilder.options() |
Response |
ClientInvocationBuilder.post(Entity<?> entity) |
Response |
ClientInvocationBuilder.put(Entity<?> entity) |
Response |
ClientInvocationBuilder.trace() |
Modifier and Type | Method and Description |
---|---|
Future<Response> |
AsynchronousInvoke.delete() |
Future<Response> |
AsynchronousInvoke.get() |
Future<Response> |
AsynchronousInvoke.head() |
Future<Response> |
AsynchronousInvoke.head(InvocationCallback<Response> callback) |
Future<Response> |
AsynchronousInvoke.method(String name) |
Future<Response> |
AsynchronousInvoke.method(String name,
Entity<?> entity) |
Future<Response> |
AsynchronousInvoke.options() |
Future<Response> |
AsynchronousInvoke.post(Entity<?> entity) |
Future<Response> |
AsynchronousInvoke.put(Entity<?> entity) |
Future<Response> |
ClientInvocation.submit() |
Future<Response> |
AsynchronousInvoke.trace() |
Modifier and Type | Method and Description |
---|---|
void |
ClientRequestContextImpl.abortWith(Response response) |
static <T> T |
ClientInvocation.extractResult(GenericType<T> responseType,
Response response,
Annotation[] annotations)
Extracts result from response throwing an appropriate exception if not a successful response.
|
static <T> T |
ClientInvocation.handleErrorStatus(Response response)
Throw an exception.
|
Modifier and Type | Method and Description |
---|---|
Future<Response> |
AsynchronousInvoke.head(InvocationCallback<Response> callback) |
Constructor and Description |
---|
AbortedResponse(ClientConfiguration configuration,
Response response) |
Modifier and Type | Class and Description |
---|---|
class |
ServerResponse |
Modifier and Type | Method and Description |
---|---|
Response |
SynchronousDispatcher.execute(HttpRequest request,
HttpResponse response,
ResourceInvoker invoker)
Return a response wither from an invoke or exception handling
|
Response |
ExceptionHandler.executeExactExceptionMapper(Throwable exception)
If there exists an Exception mapper for exception, execute it, otherwise, do NOT recurse up class hierarchy
of exception.
|
Response |
ExceptionHandler.executeExceptionMapper(Throwable exception)
Execute an ExceptionMapper if one exists for the given exception.
|
Response |
ExceptionHandler.executeExceptionMapperForClass(Throwable exception,
Class clazz) |
Response |
AsynchronousDispatcher.get(long wait,
String jobId) |
protected Response |
ExceptionHandler.handleApplicationException(HttpRequest request,
ApplicationException e) |
Response |
ExceptionHandler.handleException(HttpRequest request,
Throwable e) |
protected Response |
ExceptionHandler.handleFailure(HttpRequest request,
Failure failure) |
protected Response |
ExceptionHandler.handleReaderException(HttpRequest request,
ReaderException e) |
protected Response |
ExceptionHandler.handleWebApplicationException(WebApplicationException wae) |
protected Response |
ExceptionHandler.handleWriterException(HttpRequest request,
WriterException e) |
Response |
SynchronousDispatcher.internalInvocation(HttpRequest request,
HttpResponse response,
Object entity) |
Response |
Dispatcher.internalInvocation(HttpRequest request,
HttpResponse response,
Object entity) |
Response |
SynchronousDispatcher.preprocess(HttpRequest request) |
protected Response |
AsynchronousDispatcher.process(long wait,
String jobId,
boolean eatJob) |
Response |
AsynchronousDispatcher.readAndRemove(long wait,
String jobId) |
protected Response |
ExceptionHandler.unwrapException(HttpRequest request,
Throwable e) |
Modifier and Type | Method and Description |
---|---|
void |
SynchronousDispatcher.asynchronousDelivery(HttpRequest request,
HttpResponse response,
Response jaxrsResponse) |
protected void |
SynchronousDispatcher.writeResponse(HttpRequest request,
HttpResponse response,
Response jaxrsResponse) |
Modifier and Type | Field and Description |
---|---|
protected Response |
PreMatchContainerRequestContext.response |
Modifier and Type | Method and Description |
---|---|
Response |
PreMatchContainerRequestContext.getResponseAbortedWith() |
Modifier and Type | Method and Description |
---|---|
void |
ResponseContainerRequestContext.abortWith(Response response) |
void |
PreMatchContainerRequestContext.abortWith(Response response) |
Modifier and Type | Method and Description |
---|---|
Response |
SubscriptionResource.create(UriInfo uriInfo,
String name) |
Modifier and Type | Method and Description |
---|---|
Response |
ProjectsResource.create(Project project) |
Response |
RolesResource.create(Role role) |
Response |
UsersResource.create(StoredUser user) |
Response |
RolesResource.create(String roleName) |
Response |
UsersResource.delete(String id) |
Response |
ProjectsResource.delete(String id) |
Modifier and Type | Method and Description |
---|---|
Response |
ProjectsService.create(Project project) |
Response |
RolesService.create(UriInfo uriInfo,
Role role) |
Response |
UsersService.create(UriInfo uriInfo,
StoredUser user) |
Response |
RolesService.create(UriInfo uriInfo,
String roleName) |
Response |
UsersService.delete(String id) |
Response |
RolesService.delete(String id) |
Response |
ProjectsService.delete(String id) |
Constructor and Description |
---|
JAXBMarshalException(String s,
Response response) |
JAXBMarshalException(String s,
Throwable throwable,
Response response) |
JAXBMarshalException(Throwable throwable,
Response response) |
JAXBUnmarshalException(String s,
Response response) |
JAXBUnmarshalException(String s,
Throwable throwable,
Response response) |
JAXBUnmarshalException(Throwable throwable,
Response response) |
Modifier and Type | Method and Description |
---|---|
protected Response |
ResteasyViolationExceptionMapper.buildResponse(Object entity,
String mediaType,
Response.Status status) |
Response |
ResteasyViolationExceptionMapper.toResponse(ResteasyViolationException exception) |
Modifier and Type | Method and Description |
---|---|
Response |
TokenManagement.accessRequest(String realmId,
MultivaluedMap<String,String> formData) |
Response |
TokenManagement.accessTokenGrant(String realmId,
MultivaluedMap<String,String> formParams)
OAuth Section 4.4 Client Credentials Grant
|
Response |
RealmResource.getRealmsByName(String name) |
Response |
RealmFactory.importDomain(RealmRepresentation rep) |
Response |
TokenManagement.login(String realmName,
MultivaluedMap<String,String> formData) |
Response |
TokenManagement.requestAccessCode(String realmName,
String responseType,
String redirect,
String clientId,
String scopeParam,
String state) |
Modifier and Type | Method and Description |
---|---|
Response |
JaxrsOAuthClient.redirect(UriInfo uriInfo,
String redirectUri) |
Modifier and Type | Class and Description |
---|---|
class |
BuiltResponse
A response object not attached to a client or server invocation.
|
Modifier and Type | Method and Description |
---|---|
Response |
ResponseBuilderImpl.build() |
Modifier and Type | Field and Description |
---|---|
protected Response |
Failure.response |
Modifier and Type | Method and Description |
---|---|
Response |
InternalDispatcher.delete(String uri) |
Response |
InternalDispatcher.executeEntity(String method,
String uri,
String contentType,
Object entity) |
Response |
Failure.getResponse() |
Response |
InternalDispatcher.getResponse(MockHttpRequest request) |
Response |
InternalDispatcher.getResponse(MockHttpRequest request,
Object entity) |
Response |
InternalDispatcher.getResponse(String uri) |
Response |
InternalDispatcher.postEntity(String uri,
Object entity) |
Response |
InternalDispatcher.postEntity(String uri,
String contentType,
Object entity) |
Response |
InternalDispatcher.putEntity(String uri,
Object entity) |
Response |
InternalDispatcher.putEntity(String uri,
String contentType,
Object entity) |
Modifier and Type | Method and Description |
---|---|
void |
Failure.setResponse(Response response) |
void |
AsynchronousResponse.setResponse(Response response) |
Modifier and Type | Method and Description |
---|---|
Response |
ResteasyRequestWrapper.getAbortedResponse() |
Modifier and Type | Method and Description |
---|---|
void |
ResteasyRequestWrapper.setAbortedResponse(Response abortedResponse) |
Modifier and Type | Method and Description |
---|---|
Response |
FooExceptionMapper.toResponse(FooException exception) |
Modifier and Type | Method and Description |
---|---|
Response |
JaxrsResource.getCancelled() |
Copyright © 2013. All Rights Reserved.