public interface Response
| 限定符和类型 | 方法和说明 |
|---|---|
io.netty.buffer.ByteBuf |
getBinaryAttachment() |
int |
getCompressType() |
Throwable |
getException() |
Map<String,Object> |
getKvAttachment() |
long |
getLogId() |
NSHead |
getNsHead() |
Object |
getResult() |
RpcFuture |
getRpcFuture() |
RpcMethodInfo |
getRpcMethodInfo() |
void |
reset() |
void |
setBinaryAttachment(io.netty.buffer.ByteBuf binaryAttachment) |
void |
setCompressType(int compressType) |
void |
setException(Throwable exception) |
void |
setKvAttachment(Map<String,Object> kvAttachment) |
void |
setLogId(long logId) |
void |
setNsHead(NSHead nsHead) |
void |
setResult(Object result) |
void |
setRpcFuture(RpcFuture rpcFuture) |
void |
setRpcMethodInfo(RpcMethodInfo rpcMethodInfo) |
Object getResult()
void setResult(Object result)
long getLogId()
void setLogId(long logId)
Throwable getException()
NSHead getNsHead()
void setNsHead(NSHead nsHead)
void setException(Throwable exception)
RpcMethodInfo getRpcMethodInfo()
void setRpcMethodInfo(RpcMethodInfo rpcMethodInfo)
RpcFuture getRpcFuture()
void setRpcFuture(RpcFuture rpcFuture)
io.netty.buffer.ByteBuf getBinaryAttachment()
void setBinaryAttachment(io.netty.buffer.ByteBuf binaryAttachment)
int getCompressType()
void setCompressType(int compressType)
void reset()
Copyright © 2019 Baidu, Inc.. All rights reserved.