Package | Description |
---|---|
com.fasterxml.jackson.jaxrs.base | |
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.apache.cxf.sts.rest | |
org.jboss.resteasy.api.validation | |
org.jboss.resteasy.client |
JAX-RS specification 1.1 (https://jcp.org/en/jsr/detail?id=311)
had no client framework, so Resteasy release 2.x provided one.
|
org.jboss.resteasy.client.core | |
org.jboss.resteasy.client.jaxrs.internal | |
org.jboss.resteasy.client.microprofile | |
org.jboss.resteasy.core | |
org.jboss.resteasy.core.interception | |
org.jboss.resteasy.plugins.providers.jackson | |
org.jboss.resteasy.plugins.providers.jaxb | |
org.jboss.resteasy.specimpl | |
org.jboss.resteasy.spi |
Modifier and Type | Method and Description |
---|---|
Response |
JsonMappingExceptionMapper.toResponse(JsonMappingException exception) |
Response |
JsonParseExceptionMapper.toResponse(JsonParseException exception) |
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
and a default message generated from the response's HTTP status code and the associated HTTP status reason phrase.
|
WebApplicationException(String message,
Response response)
Construct a new instance using the supplied message and response.
|
WebApplicationException(String message,
Throwable cause,
Response response)
Construct a new instance with the supplied message, root cause and response.
|
WebApplicationException(Throwable cause,
Response response)
Construct a new instance with the supplied root cause, response
and a default message generated from the response's HTTP status code and the associated HTTP status reason phrase.
|
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 |
---|---|
CompletionStage<Response> |
CompletionStageRxInvoker.delete() |
Future<Response> |
AsyncInvoker.delete()
Invoke HTTP DELETE method for the current request asynchronously.
|
CompletionStage<Response> |
CompletionStageRxInvoker.get() |
Future<Response> |
AsyncInvoker.get()
Invoke HTTP GET method for the current request asynchronously.
|
CompletionStage<Response> |
CompletionStageRxInvoker.head() |
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.
|
CompletionStage<Response> |
CompletionStageRxInvoker.method(String name) |
Future<Response> |
AsyncInvoker.method(String name)
Invoke an arbitrary method for the current request asynchronously.
|
CompletionStage<Response> |
CompletionStageRxInvoker.method(String name,
Entity<?> entity) |
Future<Response> |
AsyncInvoker.method(String name,
Entity<?> entity)
Invoke an arbitrary method for the current request asynchronously.
|
CompletionStage<Response> |
CompletionStageRxInvoker.options() |
Future<Response> |
AsyncInvoker.options()
Invoke HTTP OPTIONS method for the current request asynchronously.
|
CompletionStage<Response> |
CompletionStageRxInvoker.post(Entity<?> entity) |
Future<Response> |
AsyncInvoker.post(Entity<?> entity)
Invoke HTTP POST method for the current request asynchronously.
|
CompletionStage<Response> |
CompletionStageRxInvoker.put(Entity<?> entity) |
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.
|
CompletionStage<Response> |
CompletionStageRxInvoker.trace() |
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 | Method and Description |
---|---|
Response |
RESTSecurityTokenServiceImpl.getJSONToken(String tokenType,
String keyType,
List<String> requestedClaims,
String appliesTo) |
Response |
RESTSecurityTokenService.getJSONToken(String tokenType,
String keyType,
List<String> requestedClaims,
String appliesTo) |
Response |
RESTSecurityTokenServiceImpl.getKeyExchangeToken(RequestSecurityTokenType request) |
Response |
RESTSecurityTokenService.getKeyExchangeToken(RequestSecurityTokenType request) |
Response |
RESTSecurityTokenServiceImpl.getPlainToken(String tokenType,
String keyType,
List<String> requestedClaims,
String appliesTo) |
Response |
RESTSecurityTokenService.getPlainToken(String tokenType,
String keyType,
List<String> requestedClaims,
String appliesTo) |
Response |
RESTSecurityTokenServiceImpl.getToken(RESTSecurityTokenService.Action action,
RequestSecurityTokenType request) |
Response |
RESTSecurityTokenService.getToken(RESTSecurityTokenService.Action action,
RequestSecurityTokenType request) |
Response |
RESTSecurityTokenServiceImpl.getXMLToken(String tokenType,
String keyType,
List<String> requestedClaims,
String appliesTo,
boolean wstrustResponse) |
Response |
RESTSecurityTokenService.getXMLToken(String tokenType,
String keyType,
List<String> requestedClaims,
String appliesTo,
boolean wstrustResponse) |
Response |
RESTSecurityTokenServiceImpl.removeToken(RequestSecurityTokenType request) |
Response |
RESTSecurityTokenService.removeToken(RequestSecurityTokenType request)
Same as
RESTSecurityTokenService.getToken(Action, RequestSecurityTokenType) with 'cancel' action. |
Modifier and Type | Method and Description |
---|---|
protected Response |
ResteasyViolationExceptionMapper.buildResponse(Object entity,
String mediaType,
Response.Status status) |
protected Response |
ResteasyViolationExceptionMapper.buildViolationReportResponse(ResteasyViolationException exception,
Response.Status status) |
Response |
ResteasyViolationExceptionMapper.toResponse(ValidationException exception) |
Modifier and Type | Class and Description |
---|---|
class |
ClientResponse<T>
Deprecated.
The Resteasy client framework in resteasy-jaxrs is replaced by the JAX-RS 2.0 compliant resteasy-client module.
|
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 |
ClientInvocationBuilder.method(String name) |
Response |
ClientInvocationBuilder.method(String name,
Entity<?> entity) |
Response |
ClientInvocationBuilder.options() |
Response |
ClientInvocationBuilder.patch(Entity<?> entity) |
Response |
ClientInvocationBuilder.post(Entity<?> entity) |
Response |
ClientInvocationBuilder.put(Entity<?> entity) |
Response |
ClientInvocationBuilder.trace() |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Response> |
CompletionStageRxInvokerImpl.delete() |
Future<Response> |
AsynchronousInvoke.delete() |
CompletionStage<Response> |
CompletionStageRxInvokerImpl.get() |
Future<Response> |
AsynchronousInvoke.get() |
CompletionStage<Response> |
CompletionStageRxInvokerImpl.head() |
Future<Response> |
AsynchronousInvoke.head() |
Future<Response> |
AsynchronousInvoke.head(InvocationCallback<Response> callback) |
CompletionStage<Response> |
CompletionStageRxInvokerImpl.method(String name) |
Future<Response> |
AsynchronousInvoke.method(String name) |
CompletionStage<Response> |
CompletionStageRxInvokerImpl.method(String name,
Entity<?> entity) |
Future<Response> |
AsynchronousInvoke.method(String name,
Entity<?> entity) |
CompletionStage<Response> |
CompletionStageRxInvokerImpl.options() |
Future<Response> |
AsynchronousInvoke.options() |
CompletionStage<Response> |
CompletionStageRxInvokerImpl.patch(Entity<?> entity) |
Future<Response> |
AsynchronousInvoke.patch(Entity<?> entity) |
CompletionStage<Response> |
CompletionStageRxInvokerImpl.post(Entity<?> entity) |
Future<Response> |
AsynchronousInvoke.post(Entity<?> entity) |
CompletionStage<Response> |
CompletionStageRxInvokerImpl.put(Entity<?> entity) |
Future<Response> |
AsynchronousInvoke.put(Entity<?> entity) |
Future<Response> |
ClientInvocation.submit() |
CompletionStage<Response> |
CompletionStageRxInvokerImpl.trace() |
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 |
PartialResponse |
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)
Deprecated.
|
void |
SynchronousDispatcher.asynchronousDelivery(HttpRequest request,
HttpResponse response,
Response jaxrsResponse,
Consumer<Throwable> onComplete) |
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 |
UnrecognizedPropertyExceptionHandler.toResponse(UnrecognizedPropertyException exception) |
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 | 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)
Deprecated.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.