Class HttpMessageDecoderResult
java.lang.Object
io.netty.handler.codec.DecoderResult
io.netty.handler.codec.http.HttpMessageDecoderResult
A
DecoderResult for HttpMessages as produced by an HttpObjectDecoder.
Please note that there is no guarantee that a HttpObjectDecoder will produce a HttpMessageDecoderResult. It may simply produce a regular DecoderResult. This result is intended for
successful HttpMessage decoder results.
-
Field Summary
Fields inherited from class DecoderResult
SIGNAL_SUCCESS, SIGNAL_UNFINISHED, SUCCESS, UNFINISHEDModifier and TypeFieldDescriptionprotected static final Signalprotected static final Signalstatic final DecoderResultstatic final DecoderResult -
Method Summary
Modifier and TypeMethodDescriptionintThe decoded header size (in bytes), as controlled bymaxHeaderSize.intThe decoded initial line length (in bytes), as controlled bymaxInitialLineLength.intThe decoded initial line length plus the decoded header size (in bytes).Methods inherited from class DecoderResult
cause, failure, isFailure, isFinished, isSuccess, toStringModifier and TypeMethodDescriptioncause()static DecoderResultbooleanbooleanbooleantoString()
-
Method Details
-
initialLineLength
public int initialLineLength()The decoded initial line length (in bytes), as controlled bymaxInitialLineLength. -
headerSize
public int headerSize()The decoded header size (in bytes), as controlled bymaxHeaderSize. -
totalSize
public int totalSize()The decoded initial line length plus the decoded header size (in bytes).
-