Class HttpMessageDecoderResult

java.lang.Object
io.netty.handler.codec.DecoderResult
io.netty.handler.codec.http.HttpMessageDecoderResult

public final class HttpMessageDecoderResult extends 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

    Fields inherited from class io.netty.handler.codec.DecoderResult

    SIGNAL_SUCCESS, SIGNAL_UNFINISHED, SUCCESS, UNFINISHED
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The decoded header size (in bytes), as controlled by maxHeaderSize.
    int
    The decoded initial line length (in bytes), as controlled by maxInitialLineLength.
    int
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • initialLineLength

      public int initialLineLength()
      The decoded initial line length (in bytes), as controlled by maxInitialLineLength.
    • headerSize

      public int headerSize()
      The decoded header size (in bytes), as controlled by maxHeaderSize.
    • totalSize

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