javax.ws.rs.client
Interface AsyncInvoker
public interface AsyncInvoker
TODO javadoc.
- Since:
- 2.0
- Author:
- Marek Potociar
|
Method Summary |
Future<Response> |
delete()
|
|
delete(Class<T> responseType)
|
|
delete(InvocationCallback<T> callback)
|
|
delete(TypeLiteral<T> responseType)
|
Future<Response> |
get()
|
|
get(Class<T> responseType)
|
|
get(InvocationCallback<T> callback)
|
|
get(TypeLiteral<T> responseType)
|
Future<Response> |
head()
|
Future<Response> |
head(InvocationCallback<Response> callback)
|
Future<Response> |
method(String name)
|
|
method(String name,
Class<T> responseType)
|
Future<Response> |
method(String name,
Entity<?> entity)
|
|
method(String name,
Entity<?> entity,
Class<T> responseType)
|
|
method(String name,
Entity<?> entity,
InvocationCallback<T> callback)
|
|
method(String name,
Entity<?> entity,
TypeLiteral<T> responseType)
|
|
method(String name,
InvocationCallback<T> callback)
|
|
method(String name,
TypeLiteral<T> responseType)
|
Future<Response> |
options()
|
|
options(Class<T> responseType)
|
|
options(InvocationCallback<T> callback)
|
|
options(TypeLiteral<T> responseType)
|
Future<Response> |
post(Entity<?> entity)
|
|
post(Entity<?> entity,
Class<T> responseType)
|
|
post(Entity<?> entity,
InvocationCallback<T> callback)
|
|
post(Entity<?> entity,
TypeLiteral<T> responseType)
|
Future<Response> |
put(Entity<?> entity)
|
|
put(Entity<?> entity,
Class<T> responseType)
|
|
put(Entity<?> entity,
InvocationCallback<T> callback)
|
|
put(Entity<?> entity,
TypeLiteral<T> responseType)
|
Future<Response> |
trace(Entity<?> entity)
|
|
trace(Entity<?> entity,
Class<T> responseType)
|
|
trace(Entity<?> entity,
InvocationCallback<T> callback)
|
|
trace(Entity<?> entity,
TypeLiteral<T> responseType)
|
get
Future<Response> get()
throws InvocationException
- Throws:
InvocationException
get
<T> Future<T> get(Class<T> responseType)
throws InvocationException
- Throws:
InvocationException
get
<T> Future<T> get(TypeLiteral<T> responseType)
throws InvocationException
- Throws:
InvocationException
get
<T> Future<T> get(InvocationCallback<T> callback)
put
Future<Response> put(Entity<?> entity)
throws InvocationException
- Throws:
InvocationException
put
<T> Future<T> put(Entity<?> entity,
Class<T> responseType)
throws InvocationException
- Throws:
InvocationException
put
<T> Future<T> put(Entity<?> entity,
TypeLiteral<T> responseType)
throws InvocationException
- Throws:
InvocationException
put
<T> Future<T> put(Entity<?> entity,
InvocationCallback<T> callback)
post
Future<Response> post(Entity<?> entity)
throws InvocationException
- Throws:
InvocationException
post
<T> Future<T> post(Entity<?> entity,
Class<T> responseType)
throws InvocationException
- Throws:
InvocationException
post
<T> Future<T> post(Entity<?> entity,
TypeLiteral<T> responseType)
throws InvocationException
- Throws:
InvocationException
post
<T> Future<T> post(Entity<?> entity,
InvocationCallback<T> callback)
delete
Future<Response> delete()
throws InvocationException
- Throws:
InvocationException
delete
<T> Future<T> delete(Class<T> responseType)
throws InvocationException
- Throws:
InvocationException
delete
<T> Future<T> delete(TypeLiteral<T> responseType)
throws InvocationException
- Throws:
InvocationException
delete
<T> Future<T> delete(InvocationCallback<T> callback)
head
Future<Response> head()
throws InvocationException
- Throws:
InvocationException
head
Future<Response> head(InvocationCallback<Response> callback)
options
Future<Response> options()
throws InvocationException
- Throws:
InvocationException
options
<T> Future<T> options(Class<T> responseType)
throws InvocationException
- Throws:
InvocationException
options
<T> Future<T> options(TypeLiteral<T> responseType)
throws InvocationException
- Throws:
InvocationException
options
<T> Future<T> options(InvocationCallback<T> callback)
trace
Future<Response> trace(Entity<?> entity)
throws InvocationException
- Throws:
InvocationException
trace
<T> Future<T> trace(Entity<?> entity,
Class<T> responseType)
throws InvocationException
- Throws:
InvocationException
trace
<T> Future<T> trace(Entity<?> entity,
TypeLiteral<T> responseType)
throws InvocationException
- Throws:
InvocationException
trace
<T> Future<T> trace(Entity<?> entity,
InvocationCallback<T> callback)
method
Future<Response> method(String name)
throws InvocationException
- Throws:
InvocationException
method
<T> Future<T> method(String name,
Class<T> responseType)
throws InvocationException
- Throws:
InvocationException
method
<T> Future<T> method(String name,
TypeLiteral<T> responseType)
throws InvocationException
- Throws:
InvocationException
method
<T> Future<T> method(String name,
InvocationCallback<T> callback)
method
Future<Response> method(String name,
Entity<?> entity)
throws InvocationException
- Throws:
InvocationException
method
<T> Future<T> method(String name,
Entity<?> entity,
Class<T> responseType)
throws InvocationException
- Throws:
InvocationException
method
<T> Future<T> method(String name,
Entity<?> entity,
TypeLiteral<T> responseType)
throws InvocationException
- Throws:
InvocationException
method
<T> Future<T> method(String name,
Entity<?> entity,
InvocationCallback<T> callback)
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.