GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Use
  • Tree
  • Deprecated
  • Index
  • Search
  • Help
  • io.netty.handler.codec.http2
  • Http2HeadersDecoder
  • Configuration

This view

  • Original page
  • New address

GeezerVison is showing netty.io — Http2HeadersDecoder.Configuration (Netty API Reference (4.1.141.Final))

Interface Http2HeadersDecoder.Configuration

All Known Implementing Classes:
DefaultHttp2HeadersDecoder
Enclosing interface:
Http2HeadersDecoder

public static interface Http2HeadersDecoder.Configuration
Configuration related elements for the Http2HeadersDecoder interface
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    maxHeaderListSize()
    Represents the value for SETTINGS_MAX_HEADER_LIST_SIZE.
    void
    maxHeaderListSize(long max, long goAwayMax)
    Configure the maximum allowed size in bytes of each set of headers.
    long
    maxHeaderListSizeGoAway()
    Represents the upper bound in bytes for a set of headers before a GO_AWAY should be sent.
    long
    maxHeaderTableSize()
    Represents the value for SETTINGS_HEADER_TABLE_SIZE.
    void
    maxHeaderTableSize(long max)
    Represents the value for SETTINGS_HEADER_TABLE_SIZE.
  • Method Details

    • maxHeaderTableSize

      void maxHeaderTableSize(long max) throws Http2Exception
      Represents the value for SETTINGS_HEADER_TABLE_SIZE. This method should only be called by Netty (not users) as a result of a receiving a SETTINGS frame.
      Throws:
      Http2Exception
    • maxHeaderTableSize

      long maxHeaderTableSize()
      Represents the value for SETTINGS_HEADER_TABLE_SIZE. The initial value returned by this method must be Http2CodecUtil.DEFAULT_HEADER_TABLE_SIZE.
    • maxHeaderListSize

      void maxHeaderListSize(long max, long goAwayMax) throws Http2Exception
      Configure the maximum allowed size in bytes of each set of headers.

      This method should only be called by Netty (not users) as a result of a receiving a SETTINGS frame.

      Parameters:
      max - SETTINGS_MAX_HEADER_LIST_SIZE. If this limit is exceeded the implementation should attempt to keep the HPACK header tables up to date by processing data from the peer, but a RST_STREAM frame will be sent for the offending stream.
      goAwayMax - Must be >= max. A GO_AWAY frame will be generated if this limit is exceeded for any particular stream.
      Throws:
      Http2Exception - if limits exceed the RFC's boundaries or max > goAwayMax.
    • maxHeaderListSize

      long maxHeaderListSize()
      Represents the value for SETTINGS_MAX_HEADER_LIST_SIZE.
    • maxHeaderListSizeGoAway

      long maxHeaderListSizeGoAway()
      Represents the upper bound in bytes for a set of headers before a GO_AWAY should be sent. This will be <= SETTINGS_MAX_HEADER_LIST_SIZE.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.