|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of the response.public interface ITypeListener<T>
A listener to be implemented by clients that wish to receive callback notification of the completion of requests invoked asynchronously.
Developers may wish to extend from the class TypeListener
rather
than implement this interface directly.
TypeListener
Method Summary | |
---|---|
GenericType<T> |
getGenericType()
Get the generic type declaring the Java type of the instance to receive for FutureListener.onComplete(java.util.concurrent.Future) . |
java.lang.Class<T> |
getType()
Get the class of the instance to receive for FutureListener.onComplete(java.util.concurrent.Future) . |
Methods inherited from interface com.sun.jersey.api.client.async.FutureListener |
---|
onComplete |
Method Detail |
---|
java.lang.Class<T> getType()
FutureListener.onComplete(java.util.concurrent.Future)
.
GenericType<T> getGenericType()
FutureListener.onComplete(java.util.concurrent.Future)
.
getType()
must not return null. Otherwise, if not null,
the type information declared by the generic type takes
precedence over the value returned by getType()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |