public interface Request
Object getMsg()
FullHttpRequest.
For tcp protocols, the msg may be an instance of byte[].HttpRequest,
RpcRequestvoid setMsg(Object o)
long getCorrelationId()
void setCorrelationId(long correlationId)
long getLogId()
void setLogId(long logId)
Object getTarget()
void setTarget(Object obj)
Method getTargetMethod()
void setTargetMethod(Method method)
RpcMethodInfo getRpcMethodInfo()
void setRpcMethodInfo(RpcMethodInfo rpcMethodInfo)
String getServiceName()
void setServiceName(String serviceName)
String getMethodName()
void setMethodName(String methodName)
Object[] getArgs()
void setArgs(Object[] newArgs)
io.netty.buffer.ByteBuf getBinaryAttachment()
void setBinaryAttachment(io.netty.buffer.ByteBuf requestBinaryAttachment)
int getCompressType()
void setCompressType(int number)
RpcException getException()
void setException(RpcException e)
io.netty.channel.Channel getChannel()
void setChannel(io.netty.channel.Channel channel)
Set<BrpcChannel> getSelectedInstances()
void setSelectedInstances(Set<BrpcChannel> selectedInstances)
NSHead getNsHead()
void setNsHead(NSHead nsHead)
SPHead getSpHead()
void setSpHead(SPHead spHead)
Request retain()
void release()
void reset()
String getAuth()
void setAuth(String auth)
Long getTraceId()
void setTraceId(Long traceId)
Long getSpanId()
void setSpanId(Long spanId)
Long getParentSpanId()
void setParentSpanId(Long parentSpanId)
RpcCallback getCallback()
void setCallback(RpcCallback callback)
String getServiceTag()
void setServiceTag(String serviceTag)
SubscribeInfo getSubscribeInfo()
void setSubscribeInfo(SubscribeInfo subscribeInfo)
Integer getReadTimeoutMillis()
void setReadTimeoutMillis(Integer readTimeoutMillis)
Integer getWriteTimeoutMillis()
void setWriteTimeoutMillis(Integer writeTimeoutMillis)
void setClientName(String clientName)
String getClientName()
boolean isOneWay()
void setOneWay(boolean oneWay)
RpcFuture getRpcFuture()
void setRpcFuture(RpcFuture rpcFuture)
io.netty.buffer.ByteBuf getSendBuf()
void setSendBuf(io.netty.buffer.ByteBuf sendBuf)
Copyright © 2019 Baidu, Inc.. All rights reserved.