Class Http1Config

java.lang.Object
org.apache.hc.core5.http.config.Http1Config

@Contract(threading=IMMUTABLE) public class Http1Config extends Object
HTTP/1.1 protocol parameters.

Please note that line length is defined in bytes and not characters. This is only relevant however when using non-standard HTTP charsets for protocol elements such as UTF-8.

Since:
4.3
  • Field Details

  • Method Details

    • getBufferSize

      public int getBufferSize()
    • getChunkSizeHint

      public int getChunkSizeHint()
    • getWaitForContinueTimeout

      public Timeout getWaitForContinueTimeout()
    • getMaxLineLength

      public int getMaxLineLength()
    • getMaxHeaderCount

      public int getMaxHeaderCount()
    • getMaxEmptyLineCount

      public int getMaxEmptyLineCount()
    • getInitialWindowSize

      public int getInitialWindowSize()
    • toString

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

      public static Http1Config.Builder custom()
    • copy

      public static Http1Config.Builder copy(Http1Config config)