public class JacksonJsonCodec<IN,OUT> extends SerializationCodec<com.fasterxml.jackson.databind.ObjectMapper,IN,OUT>
DEFAULT_DELIMITER, delimiter
Constructor and Description |
---|
JacksonJsonCodec() |
JacksonJsonCodec(com.fasterxml.jackson.databind.ObjectMapper engine) |
Modifier and Type | Method and Description |
---|---|
protected Function<byte[],IN> |
deserializer(com.fasterxml.jackson.databind.ObjectMapper engine,
Class<IN> type,
Consumer<IN> next) |
protected Function<OUT,byte[]> |
serializer(com.fasterxml.jackson.databind.ObjectMapper engine) |
apply, decoder, getEngine, readType
decode, encode
addDelimiterIfAny, decoder, doBufferDecode, doDelimitedBufferDecode, encoder, invokeCallbackOrReturn
public JacksonJsonCodec()
public JacksonJsonCodec(com.fasterxml.jackson.databind.ObjectMapper engine)
protected Function<byte[],IN> deserializer(com.fasterxml.jackson.databind.ObjectMapper engine, Class<IN> type, Consumer<IN> next)
deserializer
in class SerializationCodec<com.fasterxml.jackson.databind.ObjectMapper,IN,OUT>
protected Function<OUT,byte[]> serializer(com.fasterxml.jackson.databind.ObjectMapper engine)
serializer
in class SerializationCodec<com.fasterxml.jackson.databind.ObjectMapper,IN,OUT>
Copyright © 2016. All rights reserved.