private final class HttpServerCodec.HttpServerRequestDecoder extends HttpRequestDecoder
ByteToMessageDecoder.CumulatorChannelHandler.SharablevalidateHeadersCOMPOSITE_CUMULATOR, MERGE_CUMULATOR| Constructor and Description |
|---|
HttpServerRequestDecoder(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize) |
HttpServerRequestDecoder(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize,
boolean validateHeaders) |
HttpServerRequestDecoder(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize,
boolean validateHeaders,
int initialBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(ChannelHandlerContext ctx,
ByteBuf buffer,
java.util.List<java.lang.Object> out)
Decode the from one
ByteBuf to an other. |
createInvalidMessage, createMessage, isDecodingRequestdecodeLast, isContentAlwaysEmpty, reset, userEventTriggeredactualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecodechannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAddedpublic HttpServerRequestDecoder(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize)
public HttpServerRequestDecoder(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize,
boolean validateHeaders)
public HttpServerRequestDecoder(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize,
boolean validateHeaders,
int initialBufferSize)
protected void decode(ChannelHandlerContext ctx, ByteBuf buffer, java.util.List<java.lang.Object> out) throws java.lang.Exception
ByteToMessageDecoderByteBuf to an other. This method will be called till either the input
ByteBuf has nothing to read when return from this method or till nothing was read from the input
ByteBuf.decode in class HttpObjectDecoderctx - the ChannelHandlerContext which this ByteToMessageDecoder belongs tobuffer - the ByteBuf from which to read dataout - the List to which decoded messages should be addedjava.lang.Exception - is thrown if an error occurs