Top Description Fields Constructors Methods
io.netty.handler.codec.http

public final Class HttpMessageDecoderResult

extends DecoderResult
Class Inheritance
Imports
io.netty.handler.codec.DecoderResult

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

Modifier and TypeField and Description
private final int
private final int
Inherited from io.netty.handler.codec.DecoderResult:
SIGNAL_SUCCESSSIGNAL_UNFINISHEDSUCCESSUNFINISHED

Constructor Summary

AccessConstructor and Description
pack-priv
HttpMessageDecoderResult(int initialLineLength, int headerSize)

Method Summary

Modifier and TypeMethod and Description
public int
headerSize()

The decoded header size (in bytes), as controlled by maxHeaderSize.

public int
initialLineLength()

The decoded initial line length (in bytes), as controlled by maxInitialLineLength.

public int
totalSize()

The decoded initial line length plus the decoded header size (in bytes).

Inherited from io.netty.handler.codec.DecoderResult:
causefailureisFailureisFinishedisSuccesstoString

Field Detail

headerSizeback to summary
private final int headerSize
initialLineLengthback to summary
private final int initialLineLength

Constructor Detail

HttpMessageDecoderResultback to summary
pack-priv HttpMessageDecoderResult(int initialLineLength, int headerSize)

Method Detail

headerSizeback to summary
public int headerSize()

The decoded header size (in bytes), as controlled by maxHeaderSize.

initialLineLengthback to summary
public int initialLineLength()

The decoded initial line length (in bytes), as controlled by maxInitialLineLength.

totalSizeback to summary
public int totalSize()

The decoded initial line length plus the decoded header size (in bytes).