| 程序包 | 说明 |
|---|---|
| com.alipay.remoting | |
| com.alipay.remoting.rpc | |
| com.alipay.remoting.rpc.protocol |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RemotingCommand.serialize()
Serialize all parts of remoting command
|
void |
RemotingCommand.serializeContent(InvokeContext invokeContext)
Serialize content of remoting command
|
<T extends ResponseCommand> |
DefaultCustomSerializer.serializeContent(T response) |
<T extends ResponseCommand> |
CustomSerializer.serializeContent(T response)
Serialize the content of ResponseCommand.
|
<T extends RequestCommand> |
DefaultCustomSerializer.serializeContent(T request,
InvokeContext invokeContext) |
<T extends RequestCommand> |
CustomSerializer.serializeContent(T request,
InvokeContext invokeContext)
Serialize the content of RequestCommand.
|
<T extends ResponseCommand> |
DefaultCustomSerializer.serializeHeader(T response) |
<T extends ResponseCommand> |
CustomSerializer.serializeHeader(T response)
Serialize the header of ResponseCommand.
|
<T extends RequestCommand> |
DefaultCustomSerializer.serializeHeader(T request,
InvokeContext invokeContext) |
<T extends RequestCommand> |
CustomSerializer.serializeHeader(T request,
InvokeContext invokeContext)
Serialize the header of RequestCommand.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcCommand.serialize()
Serialize the class header and content.
|
void |
RpcCommand.serializeClazz()
Serialize content class.
|
void |
RpcCommand.serializeContent(InvokeContext invokeContext)
Serialize the content.
|
void |
RpcCommand.serializeHeader(InvokeContext invokeContext)
Serialize the header.
|
protected RemotingCommand |
RpcRemoting.toRemotingCommand(Object request,
Connection conn,
InvokeContext invokeContext,
int timeoutMillis)
Convert application request object to remoting request command.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcResponseCommand.serializeClazz() |
void |
RpcRequestCommand.serializeClazz() |
void |
RpcResponseCommand.serializeContent(InvokeContext invokeContext) |
void |
RpcRequestCommand.serializeContent(InvokeContext invokeContext) |
void |
RpcResponseCommand.serializeHeader(InvokeContext invokeContext) |
void |
RpcRequestCommand.serializeHeader(InvokeContext invokeContext) |
Copyright © 2020. All rights reserved.