RealCall

Members

Functions

cancel
void cancel()
Undocumented in source. Be warned that the author may not have intended to support it.
doRequestTask
void doRequestTask(AbstractClientHttpHandler httpHandler)
Undocumented in source. Be warned that the author may not have intended to support it.
enqueue
void enqueue(Callback responseCallback)
Undocumented in source. Be warned that the author may not have intended to support it.
execute
Response execute()
Undocumented in source. Be warned that the author may not have intended to support it.
isCanceled
bool isCanceled()
Undocumented in source. Be warned that the author may not have intended to support it.
isExecuted
bool isExecuted()
Undocumented in source. Be warned that the author may not have intended to support it.
request
Request request()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

newRealCall
RealCall newRealCall(HttpClient client, Request request, bool forWebSocket)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Call

request
Request request()

Returns the original request that initiated this call.

execute
Response execute()

Invokes the request immediately, and blocks until the response can be processed or is in error.

enqueue
void enqueue(Callback responseCallback)

Schedules the request to be executed at some point in the future.

cancel
void cancel()

Cancels the request, if possible. Requests that are already complete cannot be canceled.

isExecuted
bool isExecuted()

Returns true if this call has been either {@linkplain #execute() executed} or {@linkplain #enqueue(Callback) enqueued}. It is an error to execute a call more than once.

isCanceled
bool isCanceled()
Undocumented in source.

Meta