private class InternalStreamConnection.ResponseBuffersCallback extends java.lang.Object implements SingleResultCallback<ResponseBuffers>
Modifier | Constructor and Description |
---|---|
private |
ResponseBuffersCallback() |
Modifier and Type | Method and Description |
---|---|
void |
onResult(ResponseBuffers result,
java.lang.Throwable t)
Called when the operation completes.
|
public void onResult(ResponseBuffers result, java.lang.Throwable t)
SingleResultCallback
onResult
in interface SingleResultCallback<ResponseBuffers>
result
- the result, which may be null. Always null if e is not null.t
- the throwable, or null if the operation completed normally