Package org.drasyl.pipeline.codec
Class DefaultCodec
- java.lang.Object
-
- org.drasyl.pipeline.HandlerAdapter
-
- org.drasyl.pipeline.SimpleInboundHandler<I,E>
-
- org.drasyl.pipeline.SimpleDuplexHandler<E,Event,D>
-
- org.drasyl.pipeline.codec.Codec<ObjectHolder,Object>
-
- org.drasyl.pipeline.codec.DefaultCodec
-
- All Implemented Interfaces:
Handler
public class DefaultCodec extends Codec<ObjectHolder,Object>
This default codec allows to encode/decode all supported objects by Jackson.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_CODEC
static DefaultCodec
INSTANCE
-
Method Summary
-
Methods inherited from class org.drasyl.pipeline.codec.Codec
matchedEventTriggered, matchedRead, matchedWrite
-
Methods inherited from class org.drasyl.pipeline.SimpleDuplexHandler
acceptOutbound, write
-
Methods inherited from class org.drasyl.pipeline.SimpleInboundHandler
acceptEvent, acceptInbound, eventTriggered, read
-
Methods inherited from class org.drasyl.pipeline.HandlerAdapter
exceptionCaught, handlerAdded, handlerRemoved
-
-
-
-
Field Detail
-
INSTANCE
public static final DefaultCodec INSTANCE
-
DEFAULT_CODEC
public static final String DEFAULT_CODEC
- See Also:
- Constant Field Values
-
-