T
- the type of the response.public interface ITypeListener<T> extends FutureListener<T>
Developers may wish to extend from the class TypeListener
rather
than implement this interface directly.
TypeListener
Modifier and Type | Method and Description |
---|---|
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) . |
onComplete
java.lang.Class<T> getType()
FutureListener.onComplete(java.util.concurrent.Future)
.GenericType<T> getGenericType()
FutureListener.onComplete(java.util.concurrent.Future)
.Copyright © 2016 Oracle Corporation. All Rights Reserved.