Class ByteBufConverter

java.lang.Object
io.inverno.mod.base.converter.ByteBufConverter
All Implemented Interfaces:
Converter<ByteBuf,Object>, Decoder<ByteBuf,Object>, Encoder<Object,ByteBuf>, JoinableEncoder<Object,ByteBuf>, JoinablePrimitiveEncoder<ByteBuf>, ObjectConverter<ByteBuf>, PrimitiveDecoder<ByteBuf>, PrimitiveEncoder<ByteBuf>, ReactiveConverter<ByteBuf,Object>, ReactiveDecoder<ByteBuf,Object>, ReactiveEncoder<Object,ByteBuf>, SplittableDecoder<ByteBuf,Object>, SplittablePrimitiveDecoder<ByteBuf>
Direct Known Subclasses:
TextByteBufMediaTypeConverter

public class ByteBufConverter extends Object implements ReactiveConverter<ByteBuf,Object>, ObjectConverter<ByteBuf>

A Converter that encodes objects to ByteBuf and decodes ByteBuf to objects.

This implementation relies on a String ObjectConverter to convert the string representation of an object from/to ByteBufs.

This converter is an object converter and as such it can convert collection of objects using a customizable separator.

Since:
1.0
Author:
Jeremy Kuhn
See Also: