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