public interface Response
| 限定符和类型 | 方法和说明 |
|---|---|
void |
delRefCntForServer() |
io.netty.buffer.ByteBuf |
getBinaryAttachment() |
int |
getCompressType() |
Throwable |
getException() |
Map<String,String> |
getKvAttachment() |
long |
getLogId() |
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,String> kvAttachment) |
void |
setLogId(long logId) |
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()
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()
void delRefCntForServer()
Copyright © 2019 Baidu, Inc.. All rights reserved.