Class H2Config

java.lang.Object
org.apache.hc.core5.http2.config.H2Config

@Contract(threading=IMMUTABLE) public class H2Config extends Object
HTTP/2 protocol configuration.
Since:
5.0
  • Field Details

    • DEFAULT

      public static final H2Config DEFAULT
    • INIT

      public static final H2Config INIT
  • Method Details

    • getHeaderTableSize

      public int getHeaderTableSize()
    • isPushEnabled

      public boolean isPushEnabled()
    • getMaxConcurrentStreams

      public int getMaxConcurrentStreams()
    • getInitialWindowSize

      public int getInitialWindowSize()
    • getMaxFrameSize

      public int getMaxFrameSize()
    • getMaxHeaderListSize

      public int getMaxHeaderListSize()
    • isCompressionEnabled

      public boolean isCompressionEnabled()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • custom

      public static H2Config.Builder custom()
    • initial

      public static H2Config.Builder initial()
    • copy

      public static H2Config.Builder copy(H2Config config)