|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alipay.remoting.DefaultCustomSerializer
public class DefaultCustomSerializer
The default custom serializer, which does nothing. Extend this class and override the methods you want to custom.
| Constructor Summary | |
|---|---|
DefaultCustomSerializer()
|
|
| Method Summary | ||
|---|---|---|
|
deserializeContent(T request)
Deserialize the content of RequestCommand. |
|
|
deserializeContent(T response,
InvokeContext invokeContext)
Deserialize the content of ResponseCommand. |
|
|
deserializeHeader(T request)
Deserialize the header of RequestCommand. |
|
|
deserializeHeader(T response,
InvokeContext invokeContext)
Deserialize the header of ResponseCommand. |
|
|
serializeContent(T response)
Serialize the content of ResponseCommand. |
|
|
serializeContent(T request,
InvokeContext invokeContext)
Serialize the content of RequestCommand. |
|
|
serializeHeader(T response)
Serialize the header of ResponseCommand. |
|
|
serializeHeader(T request,
InvokeContext invokeContext)
Serialize the header of RequestCommand. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCustomSerializer()
| Method Detail |
|---|
public <T extends RequestCommand> boolean serializeHeader(T request,
InvokeContext invokeContext)
throws SerializationException
CustomSerializer
serializeHeader in interface CustomSerializerSerializationExceptionCustomSerializer.serializeHeader(com.alipay.remoting.rpc.RequestCommand, InvokeContext)
public <T extends ResponseCommand> boolean serializeHeader(T response)
throws SerializationException
CustomSerializer
serializeHeader in interface CustomSerializerSerializationExceptionCustomSerializer.serializeHeader(com.alipay.remoting.rpc.ResponseCommand)
public <T extends RequestCommand> boolean deserializeHeader(T request)
throws DeserializationException
CustomSerializer
deserializeHeader in interface CustomSerializerDeserializationExceptionCustomSerializer.deserializeHeader(com.alipay.remoting.rpc.RequestCommand)
public <T extends ResponseCommand> boolean deserializeHeader(T response,
InvokeContext invokeContext)
throws DeserializationException
CustomSerializer
deserializeHeader in interface CustomSerializerDeserializationExceptionCustomSerializer.deserializeHeader(com.alipay.remoting.rpc.ResponseCommand, InvokeContext)
public <T extends RequestCommand> boolean serializeContent(T request,
InvokeContext invokeContext)
throws SerializationException
CustomSerializer
serializeContent in interface CustomSerializerSerializationExceptionCustomSerializer.serializeContent(com.alipay.remoting.rpc.RequestCommand, InvokeContext)
public <T extends ResponseCommand> boolean serializeContent(T response)
throws SerializationException
CustomSerializer
serializeContent in interface CustomSerializerSerializationExceptionCustomSerializer.serializeContent(com.alipay.remoting.rpc.ResponseCommand)
public <T extends RequestCommand> boolean deserializeContent(T request)
throws DeserializationException
CustomSerializer
deserializeContent in interface CustomSerializerDeserializationExceptionCustomSerializer.deserializeContent(com.alipay.remoting.rpc.RequestCommand)
public <T extends ResponseCommand> boolean deserializeContent(T response,
InvokeContext invokeContext)
throws DeserializationException
CustomSerializer
deserializeContent in interface CustomSerializerDeserializationExceptionCustomSerializer.deserializeContent(com.alipay.remoting.rpc.ResponseCommand, InvokeContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||