javax.ws.rs.client
Interface AsyncInvoker


public interface AsyncInvoker

TODO javadoc.

Since:
2.0
Author:
Marek Potociar

Method Summary
 java.util.concurrent.Future<Response> delete()
           
<T> java.util.concurrent.Future<T>
delete(java.lang.Class<T> responseType)
           
<T> java.util.concurrent.Future<T>
delete(InvocationCallback<T> callback)
           
<T> java.util.concurrent.Future<T>
delete(TypeLiteral<T> responseType)
           
 java.util.concurrent.Future<Response> get()
           
<T> java.util.concurrent.Future<T>
get(java.lang.Class<T> responseType)
           
<T> java.util.concurrent.Future<T>
get(InvocationCallback<T> callback)
           
<T> java.util.concurrent.Future<T>
get(TypeLiteral<T> responseType)
           
 java.util.concurrent.Future<Response> head()
           
 java.util.concurrent.Future<Response> head(InvocationCallback<Response> callback)
           
 java.util.concurrent.Future<Response> method(java.lang.String name)
           
<T> java.util.concurrent.Future<T>
method(java.lang.String name, java.lang.Class<T> responseType)
           
 java.util.concurrent.Future<Response> method(java.lang.String name, Entity<?> entity)
           
<T> java.util.concurrent.Future<T>
method(java.lang.String name, Entity<?> entity, java.lang.Class<T> responseType)
           
<T> java.util.concurrent.Future<T>
method(java.lang.String name, Entity<?> entity, InvocationCallback<T> callback)
           
<T> java.util.concurrent.Future<T>
method(java.lang.String name, Entity<?> entity, TypeLiteral<T> responseType)
           
<T> java.util.concurrent.Future<T>
method(java.lang.String name, InvocationCallback<T> callback)
           
<T> java.util.concurrent.Future<T>
method(java.lang.String name, TypeLiteral<T> responseType)
           
 java.util.concurrent.Future<Response> options()
           
<T> java.util.concurrent.Future<T>
options(java.lang.Class<T> responseType)
           
<T> java.util.concurrent.Future<T>
options(InvocationCallback<T> callback)
           
<T> java.util.concurrent.Future<T>
options(TypeLiteral<T> responseType)
           
 java.util.concurrent.Future<Response> post(Entity<?> entity)
           
<T> java.util.concurrent.Future<T>
post(Entity<?> entity, java.lang.Class<T> responseType)
           
<T> java.util.concurrent.Future<T>
post(Entity<?> entity, InvocationCallback<T> callback)
           
<T> java.util.concurrent.Future<T>
post(Entity<?> entity, TypeLiteral<T> responseType)
           
 java.util.concurrent.Future<Response> put(Entity<?> entity)
           
<T> java.util.concurrent.Future<T>
put(Entity<?> entity, java.lang.Class<T> responseType)
           
<T> java.util.concurrent.Future<T>
put(Entity<?> entity, InvocationCallback<T> callback)
           
<T> java.util.concurrent.Future<T>
put(Entity<?> entity, TypeLiteral<T> responseType)
           
 java.util.concurrent.Future<Response> trace(Entity<?> entity)
           
<T> java.util.concurrent.Future<T>
trace(Entity<?> entity, java.lang.Class<T> responseType)
           
<T> java.util.concurrent.Future<T>
trace(Entity<?> entity, InvocationCallback<T> callback)
           
<T> java.util.concurrent.Future<T>
trace(Entity<?> entity, TypeLiteral<T> responseType)
           
 

Method Detail

get

java.util.concurrent.Future<Response> get()
                                          throws InvocationException
Throws:
InvocationException

get

<T> java.util.concurrent.Future<T> get(java.lang.Class<T> responseType)
                                   throws InvocationException
Throws:
InvocationException

get

<T> java.util.concurrent.Future<T> get(TypeLiteral<T> responseType)
                                   throws InvocationException
Throws:
InvocationException

get

<T> java.util.concurrent.Future<T> get(InvocationCallback<T> callback)

put

java.util.concurrent.Future<Response> put(Entity<?> entity)
                                          throws InvocationException
Throws:
InvocationException

put

<T> java.util.concurrent.Future<T> put(Entity<?> entity,
                                       java.lang.Class<T> responseType)
                                   throws InvocationException
Throws:
InvocationException

put

<T> java.util.concurrent.Future<T> put(Entity<?> entity,
                                       TypeLiteral<T> responseType)
                                   throws InvocationException
Throws:
InvocationException

put

<T> java.util.concurrent.Future<T> put(Entity<?> entity,
                                       InvocationCallback<T> callback)

post

java.util.concurrent.Future<Response> post(Entity<?> entity)
                                           throws InvocationException
Throws:
InvocationException

post

<T> java.util.concurrent.Future<T> post(Entity<?> entity,
                                        java.lang.Class<T> responseType)
                                    throws InvocationException
Throws:
InvocationException

post

<T> java.util.concurrent.Future<T> post(Entity<?> entity,
                                        TypeLiteral<T> responseType)
                                    throws InvocationException
Throws:
InvocationException

post

<T> java.util.concurrent.Future<T> post(Entity<?> entity,
                                        InvocationCallback<T> callback)

delete

java.util.concurrent.Future<Response> delete()
                                             throws InvocationException
Throws:
InvocationException

delete

<T> java.util.concurrent.Future<T> delete(java.lang.Class<T> responseType)
                                      throws InvocationException
Throws:
InvocationException

delete

<T> java.util.concurrent.Future<T> delete(TypeLiteral<T> responseType)
                                      throws InvocationException
Throws:
InvocationException

delete

<T> java.util.concurrent.Future<T> delete(InvocationCallback<T> callback)

head

java.util.concurrent.Future<Response> head()
                                           throws InvocationException
Throws:
InvocationException

head

java.util.concurrent.Future<Response> head(InvocationCallback<Response> callback)

options

java.util.concurrent.Future<Response> options()
                                              throws InvocationException
Throws:
InvocationException

options

<T> java.util.concurrent.Future<T> options(java.lang.Class<T> responseType)
                                       throws InvocationException
Throws:
InvocationException

options

<T> java.util.concurrent.Future<T> options(TypeLiteral<T> responseType)
                                       throws InvocationException
Throws:
InvocationException

options

<T> java.util.concurrent.Future<T> options(InvocationCallback<T> callback)

trace

java.util.concurrent.Future<Response> trace(Entity<?> entity)
                                            throws InvocationException
Throws:
InvocationException

trace

<T> java.util.concurrent.Future<T> trace(Entity<?> entity,
                                         java.lang.Class<T> responseType)
                                     throws InvocationException
Throws:
InvocationException

trace

<T> java.util.concurrent.Future<T> trace(Entity<?> entity,
                                         TypeLiteral<T> responseType)
                                     throws InvocationException
Throws:
InvocationException

trace

<T> java.util.concurrent.Future<T> trace(Entity<?> entity,
                                         InvocationCallback<T> callback)

method

java.util.concurrent.Future<Response> method(java.lang.String name)
                                             throws InvocationException
Throws:
InvocationException

method

<T> java.util.concurrent.Future<T> method(java.lang.String name,
                                          java.lang.Class<T> responseType)
                                      throws InvocationException
Throws:
InvocationException

method

<T> java.util.concurrent.Future<T> method(java.lang.String name,
                                          TypeLiteral<T> responseType)
                                      throws InvocationException
Throws:
InvocationException

method

<T> java.util.concurrent.Future<T> method(java.lang.String name,
                                          InvocationCallback<T> callback)

method

java.util.concurrent.Future<Response> method(java.lang.String name,
                                             Entity<?> entity)
                                             throws InvocationException
Throws:
InvocationException

method

<T> java.util.concurrent.Future<T> method(java.lang.String name,
                                          Entity<?> entity,
                                          java.lang.Class<T> responseType)
                                      throws InvocationException
Throws:
InvocationException

method

<T> java.util.concurrent.Future<T> method(java.lang.String name,
                                          Entity<?> entity,
                                          TypeLiteral<T> responseType)
                                      throws InvocationException
Throws:
InvocationException

method

<T> java.util.concurrent.Future<T> method(java.lang.String name,
                                          Entity<?> entity,
                                          InvocationCallback<T> callback)


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.