|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- Type of the value that will be returned.public interface FutureImpl<V>
Extended Future
Method Summary | |
---|---|
void |
abort(Throwable t)
Abort the current processing, and propagate the Throwable to the AsyncHandler or Future |
void |
content(V v)
Set the content that will be returned by this instance |
void |
done(Callable callable)
Execute a Callable and if there is no exception, mark this Future as done and release the internal lock. |
boolean |
getAndSetWriteBody(boolean writeBody)
Write the Request body |
boolean |
getAndSetWriteHeaders(boolean writeHeader)
Write the Request headers |
void |
touch()
Touch the current instance to prevent external service to times out. |
Methods inherited from interface java.util.concurrent.Future |
---|
cancel, get, get, isCancelled, isDone |
Method Detail |
---|
void done(Callable callable)
Callable
and if there is no exception, mark this Future as done and release the internal lock.
callable
- void abort(Throwable t)
Throwable
to the AsyncHandler
or Future
t
- void content(V v)
v
- the content that will be returned by this instancevoid touch()
boolean getAndSetWriteHeaders(boolean writeHeader)
Request
headers
boolean getAndSetWriteBody(boolean writeBody)
Request
body
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |