|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomSerializer
Define custom serializers for command header and content.
| 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. |
|
| Method Detail |
|---|
<T extends RequestCommand> boolean serializeHeader(T request,
InvokeContext invokeContext)
throws SerializationException
request - invokeContext -
CodecException
SerializationException
<T extends ResponseCommand> boolean serializeHeader(T response)
throws SerializationException
response -
CodecException
SerializationException
<T extends RequestCommand> boolean deserializeHeader(T request)
throws DeserializationException
request -
CodecException
DeserializationException
<T extends ResponseCommand> boolean deserializeHeader(T response,
InvokeContext invokeContext)
throws DeserializationException
response - invokeContext -
CodecException
DeserializationException
<T extends RequestCommand> boolean serializeContent(T request,
InvokeContext invokeContext)
throws SerializationException
request - invokeContext -
CodecException
SerializationException
<T extends ResponseCommand> boolean serializeContent(T response)
throws SerializationException
response -
CodecException
SerializationException
<T extends RequestCommand> boolean deserializeContent(T request)
throws DeserializationException
request -
CodecException
DeserializationException
<T extends ResponseCommand> boolean deserializeContent(T response,
InvokeContext invokeContext)
throws DeserializationException
response - invokeContext -
CodecException
DeserializationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||