public interface AsyncResponse
Modifier and Type | Method and Description |
---|---|
boolean |
isCompleted()
Returns true if the call is finished, regardless of whether it was
successful or not.
|
void |
sleepUntilCompleted()
Pauses the thread until the call is finished, regardless of whether it
was successful or not.
|
void sleepUntilCompleted() throws java.lang.Exception
java.lang.Exception
- if the remote call failed.boolean isCompleted() throws java.lang.Exception
java.lang.Exception
- if the remote call failed.