Package io.netty.handler.codec.http
Class HttpMessageDecoderResult
- java.lang.Object
-
- io.netty.handler.codec.DecoderResult
-
- io.netty.handler.codec.http.HttpMessageDecoderResult
-
public final class HttpMessageDecoderResult extends DecoderResult
ADecoderResult
forHttpMessage
s as produced by anHttpObjectDecoder
.Please note that there is no guarantee that a
HttpObjectDecoder
will produce aHttpMessageDecoderResult
. It may simply produce a regularDecoderResult
. This result is intended for successfulHttpMessage
decoder results.
-
-
Field Summary
-
Fields inherited from class io.netty.handler.codec.DecoderResult
SIGNAL_SUCCESS, SIGNAL_UNFINISHED, SUCCESS, UNFINISHED
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
headerSize()
The decoded header size (in bytes), as controlled bymaxHeaderSize
.int
initialLineLength()
The decoded initial line length (in bytes), as controlled bymaxInitialLineLength
.int
totalSize()
The decoded initial line length plus the decoded header size (in bytes).-
Methods inherited from class io.netty.handler.codec.DecoderResult
cause, failure, isFailure, isFinished, isSuccess, toString
-
-
-
-
Method Detail
-
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).
-
-