org.apache.hc.core5.http2.config

## 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

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `H2Config.Builder`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static H2Config` | `DEFAULT`
    `static H2Config` | `INIT`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static H2Config.Builder` | `copy(H2Config config)`
    `static H2Config.Builder` | `custom()`
    `int` | `getHeaderTableSize()`
    `int` | `getInitialWindowSize()`
    `int` | `getMaxConcurrentStreams()`
    `int` | `getMaxFrameSize()`
    `int` | `getMaxHeaderListSize()`
    `static H2Config.Builder` | `initial()`
    `boolean` | `isCompressionEnabled()`
    `boolean` | `isPushEnabled()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### DEFAULT

          public static final H2Config DEFAULT

    - #### INIT

          public static final H2Config INIT

  - ### Method Detail

    - #### 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)

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.