|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.resteasy.client.jaxrs.internal.AsynchronousInvoke
public class AsynchronousInvoke
| Field Summary | |
|---|---|
protected ClientInvocation |
invocation
|
| Constructor Summary | |
|---|---|
AsynchronousInvoke(ClientInvocation invocation)
|
|
| Method Summary | ||
|---|---|---|
Future<Response> |
delete()
Invoke HTTP DELETE method for the current request asynchronously. |
|
|
delete(Class<T> responseType)
Invoke HTTP DELETE method for the current request asynchronously. |
|
|
delete(GenericType<T> responseType)
Invoke HTTP DELETE method for the current request asynchronously. |
|
|
delete(InvocationCallback<T> callback)
Invoke HTTP DELETE method for the current request asynchronously. |
|
Future<Response> |
get()
Invoke HTTP GET method for the current request asynchronously. |
|
|
get(Class<T> responseType)
Invoke HTTP GET method for the current request asynchronously. |
|
|
get(GenericType<T> responseType)
Invoke HTTP GET method for the current request asynchronously. |
|
|
get(InvocationCallback<T> callback)
Invoke HTTP GET method for the current request asynchronously. |
|
Future<Response> |
head()
Invoke HTTP HEAD method for the current request asynchronously. |
|
Future<Response> |
head(InvocationCallback<Response> callback)
Invoke HTTP HEAD method for the current request asynchronously. |
|
Future<Response> |
method(String name)
Invoke an arbitrary method for the current request asynchronously. |
|
|
method(String name,
Class<T> responseType)
Invoke an arbitrary method for the current request asynchronously. |
|
Future<Response> |
method(String name,
Entity<?> entity)
Invoke an arbitrary method for the current request asynchronously. |
|
|
method(String name,
Entity<?> entity,
Class<T> responseType)
Invoke an arbitrary method for the current request asynchronously. |
|
|
method(String name,
Entity<?> entity,
GenericType<T> responseType)
Invoke an arbitrary method for the current request asynchronously. |
|
|
method(String name,
Entity<?> entity,
InvocationCallback<T> callback)
Invoke an arbitrary method for the current request asynchronously. |
|
|
method(String name,
GenericType<T> responseType)
Invoke an arbitrary method for the current request asynchronously. |
|
|
method(String name,
InvocationCallback<T> callback)
Invoke an arbitrary method for the current request asynchronously. |
|
Future<Response> |
options()
Invoke HTTP OPTIONS method for the current request asynchronously. |
|
|
options(Class<T> responseType)
Invoke HTTP OPTIONS method for the current request asynchronously. |
|
|
options(GenericType<T> responseType)
Invoke HTTP OPTIONS method for the current request asynchronously. |
|
|
options(InvocationCallback<T> callback)
Invoke HTTP OPTIONS method for the current request asynchronously. |
|
Future<Response> |
post(Entity<?> entity)
Invoke HTTP POST method for the current request asynchronously. |
|
|
post(Entity<?> entity,
Class<T> responseType)
Invoke HTTP POST method for the current request asynchronously. |
|
|
post(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP POST method for the current request asynchronously. |
|
|
post(Entity<?> entity,
InvocationCallback<T> callback)
Invoke HTTP POST method for the current request asynchronously. |
|
Future<Response> |
put(Entity<?> entity)
Invoke HTTP PUT method for the current request asynchronously. |
|
|
put(Entity<?> entity,
Class<T> responseType)
Invoke HTTP PUT method for the current request asynchronously. |
|
|
put(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP PUT method for the current request asynchronously. |
|
|
put(Entity<?> entity,
InvocationCallback<T> callback)
Invoke HTTP PUT method for the current request asynchronously. |
|
Future<Response> |
trace()
Invoke HTTP TRACE method for the current request asynchronously. |
|
|
trace(Class<T> responseType)
Invoke HTTP TRACE method for the current request asynchronously. |
|
|
trace(GenericType<T> responseType)
Invoke HTTP TRACE method for the current request asynchronously. |
|
|
trace(InvocationCallback<T> callback)
Invoke HTTP TRACE method for the current request asynchronously. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ClientInvocation invocation
| Constructor Detail |
|---|
public AsynchronousInvoke(ClientInvocation invocation)
| Method Detail |
|---|
public Future<Response> get()
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps an ClientException thrown in case of an invocation processing
failure.
get in interface AsyncInvokerfuture.public <T> Future<T> get(Class<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
get in interface AsyncInvokerT - response entity type.responseType - Java type the response entity will be converted to.
future.public <T> Future<T> get(GenericType<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
get in interface AsyncInvokerT - generic response entity type.responseType - representation of a generic Java type the response
entity will be converted to.
future.public <T> Future<T> get(InvocationCallback<T> callback)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the generic type of the supplied response callback is not
Response.
get in interface AsyncInvokerT - generic response entity type.callback - asynchronous invocation callback.
future.public Future<Response> trace()
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps an ClientException thrown in case of an invocation processing
failure.
trace in interface AsyncInvokerfuture.public <T> Future<T> trace(Class<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
trace in interface AsyncInvokerT - response entity type.responseType - Java type the response entity will be converted to.
future.public <T> Future<T> trace(GenericType<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
trace in interface AsyncInvokerT - generic response entity type.responseType - representation of a generic Java type the response
entity will be converted to.
future.public <T> Future<T> trace(InvocationCallback<T> callback)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the generic type of the supplied response callback is not
Response.
trace in interface AsyncInvokerT - generic response entity type.callback - asynchronous invocation callback.
future.public Future<Response> put(Entity<?> entity)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps an ClientException thrown in case of an invocation processing
failure.
put in interface AsyncInvokerentity - request entity.
future.
public <T> Future<T> put(Entity<?> entity,
Class<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
put in interface AsyncInvokerT - response entity type.entity - request entity.responseType - Java type the response entity will be converted to.
future.
public <T> Future<T> put(Entity<?> entity,
GenericType<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
put in interface AsyncInvokerT - generic response entity type.entity - request entity.responseType - representation of a generic Java type the response
entity will be converted to.
future.
public <T> Future<T> put(Entity<?> entity,
InvocationCallback<T> callback)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the generic type of the supplied response callback is not
Response.
put in interface AsyncInvokerT - generic response entity type.entity - request entity.callback - asynchronous invocation callback.
future.public Future<Response> post(Entity<?> entity)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps an ClientException thrown in case of an invocation processing
failure.
post in interface AsyncInvokerentity - request entity.
future.
public <T> Future<T> post(Entity<?> entity,
Class<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
post in interface AsyncInvokerT - response entity type.entity - request entity.responseType - Java type the response entity will be converted to.
future.
public <T> Future<T> post(Entity<?> entity,
GenericType<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
post in interface AsyncInvokerT - generic response entity type.entity - request entity.responseType - representation of a generic Java type the response
entity will be converted to.
future.
public <T> Future<T> post(Entity<?> entity,
InvocationCallback<T> callback)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the generic type of the supplied response callback is not
Response.
post in interface AsyncInvokerT - generic response entity type.entity - request entity.callback - asynchronous invocation callback.
future.public Future<Response> delete()
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps an ClientException thrown in case of an invocation processing
failure.
delete in interface AsyncInvokerfuture.public <T> Future<T> delete(Class<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
delete in interface AsyncInvokerT - response entity type.responseType - Java type the response entity will be converted to.
future.public <T> Future<T> delete(GenericType<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
delete in interface AsyncInvokerT - generic response entity type.responseType - representation of a generic Java type the response
entity will be converted to.
future.public <T> Future<T> delete(InvocationCallback<T> callback)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the generic type of the supplied response callback is not
Response.
delete in interface AsyncInvokerT - generic response entity type.callback - asynchronous invocation callback.
future.public Future<Response> head()
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps an ClientException thrown in case of an invocation processing
failure.
head in interface AsyncInvokerfuture.public Future<Response> head(InvocationCallback<Response> callback)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps an ClientException thrown in case of an invocation processing
failure.
head in interface AsyncInvokercallback - asynchronous invocation callback.
future.public Future<Response> options()
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps an ClientException thrown in case of an invocation processing
failure.
options in interface AsyncInvokerfuture.public <T> Future<T> options(Class<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
options in interface AsyncInvokerT - response entity type.responseType - Java type the response entity will be converted to.
future.public <T> Future<T> options(GenericType<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
options in interface AsyncInvokerT - generic response entity type.responseType - representation of a generic Java type the response
entity will be converted to.
future.public <T> Future<T> options(InvocationCallback<T> callback)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the generic type of the supplied response callback is not
Response.
options in interface AsyncInvokerT - generic response entity type.callback - asynchronous invocation callback.
future.public Future<Response> method(String name)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps an ClientException thrown in case of an invocation processing
failure.
method in interface AsyncInvokername - method name.
future.
public <T> Future<T> method(String name,
Class<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
method in interface AsyncInvokerT - response entity type.name - method name.responseType - Java type the response entity will be converted to.
future.
public <T> Future<T> method(String name,
GenericType<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
method in interface AsyncInvokerT - generic response entity type.name - method name.responseType - representation of a generic Java type the response
entity will be converted to.
future.
public <T> Future<T> method(String name,
InvocationCallback<T> callback)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the generic type of the supplied response callback is not
Response.
method in interface AsyncInvokerT - generic response entity type.name - method name.callback - asynchronous invocation callback.
future.
public Future<Response> method(String name,
Entity<?> entity)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps an ClientException thrown in case of an invocation processing
failure.
method in interface AsyncInvokername - method name.entity - request entity.
future.
public <T> Future<T> method(String name,
Entity<?> entity,
Class<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
method in interface AsyncInvokerT - response entity type.name - method name.entity - request entity.responseType - Java type the response entity will be converted to.
future.
public <T> Future<T> method(String name,
Entity<?> entity,
GenericType<T> responseType)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the specified response type is not Response.
method in interface AsyncInvokerT - generic response entity type.name - method name.entity - request entity.responseType - representation of a generic Java type the response
entity will be converted to.
future.
public <T> Future<T> method(String name,
Entity<?> entity,
InvocationCallback<T> callback)
AsyncInvoker
Note that calling the Future.get() method on the returned
Future instance may throw an ExecutionException
that wraps either an ClientException thrown in case of an invocation processing
failure or a WebApplicationException or one of its subclasses thrown in case the
received response status code is not successful and the generic type of the supplied response callback is not
Response.
method in interface AsyncInvokerT - generic response entity type.name - method name.entity - request entity.callback - asynchronous invocation callback.
future.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||