|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alipay.remoting.rpc.RpcCommand
com.alipay.remoting.rpc.RequestCommand
com.alipay.remoting.rpc.protocol.RpcRequestCommand
public class RpcRequestCommand
Request command for Rpc.
| Constructor Summary | |
|---|---|
RpcRequestCommand()
create request command without id |
|
RpcRequestCommand(Object request)
create request command with id and request object |
|
| Method Summary | |
|---|---|
void |
deserializeClazz()
Deserialize the content class. |
void |
deserializeContent(InvokeContext invokeContext)
Deserialize the content. |
void |
deserializeHeader(InvokeContext invokeContext)
Deserialize the header. |
long |
getArriveTime()
Getter method for property arriveTime. |
CustomSerializer |
getCustomSerializer()
Getter method for property customSerializer. |
String |
getRequestClass()
Getter method for property requestClass. |
Object |
getRequestHeader()
Getter method for property requestHeader. |
Object |
getRequestObject()
Getter method for property requestObject. |
void |
serializeClazz()
Serialize content class. |
void |
serializeContent(InvokeContext invokeContext)
Serialize the content. |
void |
serializeHeader(InvokeContext invokeContext)
Serialize the header. |
void |
setArriveTime(long arriveTime)
Setter method for property arriveTime. |
void |
setRequestClass(String requestClass)
Setter method for property requestClass. |
void |
setRequestHeader(Object requestHeader)
Setter method for property requestHeader. |
void |
setRequestObject(Object requestObject)
Setter method for property requestObject. |
| Methods inherited from class com.alipay.remoting.rpc.RequestCommand |
|---|
getTimeout, setTimeout |
| Methods inherited from class com.alipay.remoting.rpc.RpcCommand |
|---|
deserialize, deserialize, getClazz, getClazzLength, getCmdCode, getContent, getContentLength, getHeader, getHeaderLength, getId, getInvokeContext, getProtocolCode, getProtocolSwitch, getSerializer, getType, getVersion, serialize, setClazz, setCmdCode, setContent, setHeader, setId, setInvokeContext, setProtocolSwitch, setSerializer, setType, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RpcRequestCommand()
public RpcRequestCommand(Object request)
request - | Method Detail |
|---|
public void serializeClazz()
throws SerializationException
RpcCommand
serializeClazz in class RpcCommandSerializationException
public void deserializeClazz()
throws DeserializationException
RpcCommand
deserializeClazz in class RpcCommandDeserializationException
public void serializeHeader(InvokeContext invokeContext)
throws SerializationException
RpcCommand
serializeHeader in class RpcCommandSerializationException
public void deserializeHeader(InvokeContext invokeContext)
throws DeserializationException
RpcCommand
deserializeHeader in class RpcCommandDeserializationException
public void serializeContent(InvokeContext invokeContext)
throws SerializationException
RpcCommand
serializeContent in interface RemotingCommandserializeContent in class RpcCommandSerializationException
public void deserializeContent(InvokeContext invokeContext)
throws DeserializationException
RpcCommand
deserializeContent in interface RemotingCommanddeserializeContent in class RpcCommandDeserializationExceptionpublic Object getRequestObject()
public void setRequestObject(Object requestObject)
requestObject - value to be assigned to property requestObjectpublic Object getRequestHeader()
public void setRequestHeader(Object requestHeader)
requestHeader - value to be assigned to property requestHeaderpublic String getRequestClass()
public void setRequestClass(String requestClass)
requestClass - value to be assigned to property requestClasspublic CustomSerializer getCustomSerializer()
public long getArriveTime()
public void setArriveTime(long arriveTime)
arriveTime - value to be assigned to property arriveTime
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||