public class RedisReplyDecoder
extends io.netty.handler.codec.ReplayingDecoder<java.lang.Void>
| Constructor and Description |
|---|
RedisReplyDecoder(boolean checkpointEnabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkpoint() |
protected void |
decode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.buffer.ByteBuf byteBuf,
java.util.List<java.lang.Object> objects) |
MultiBulkReply |
decodeMultiBulkReply(io.netty.buffer.ByteBuf is) |
io.netty.buffer.ByteBuf |
readBytes(io.netty.buffer.ByteBuf is) |
static long |
readLong(io.netty.buffer.ByteBuf is) |
Reply<?> |
readReply(io.netty.buffer.ByteBuf is) |
Reply<?> |
receive(io.netty.buffer.ByteBuf is) |
callDecode, checkpoint, state, stateactualReadableBytes, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharablepublic static final char CR
public static final char LF
public static long readLong(io.netty.buffer.ByteBuf is)
throws java.io.IOException
java.io.IOExceptionprotected void decode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.buffer.ByteBuf byteBuf,
java.util.List<java.lang.Object> objects)
throws java.lang.Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderjava.lang.Exceptionpublic io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf is)
throws java.io.IOException
java.io.IOExceptionpublic Reply<?> receive(io.netty.buffer.ByteBuf is) throws java.io.IOException
java.io.IOExceptionpublic Reply<?> readReply(io.netty.buffer.ByteBuf is) throws java.io.IOException
java.io.IOExceptionpublic void checkpoint()
checkpoint in class io.netty.handler.codec.ReplayingDecoder<java.lang.Void>public MultiBulkReply decodeMultiBulkReply(io.netty.buffer.ByteBuf is) throws java.io.IOException
java.io.IOException