public class JavaSerializationCodec<T> extends BufferCodec<T,T>
Codec to transform Java objects into Buffers and visa-versa.DEFAULT_DELIMITER, delimiter| Constructor and Description |
|---|
JavaSerializationCodec() |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
apply(T t)
Execute the logic of the action, accepting the given parameter.
|
Function<Buffer,T> |
decoder(Consumer<T> next)
Provide the caller with a decoder to turn a source object into an instance of the input
type.
|
decode, encodeaddDelimiterIfAny, decoder, doBufferDecode, doDelimitedBufferDecode, encoder, invokeCallbackOrReturn