Class Http1Config


  • @Contract(threading=IMMUTABLE)
    public class Http1Config
    extends java.lang.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
    • Method Detail

      • getVersion

        public HttpVersion getVersion()
        The effective protocol level expressed by the minor version of HTTP/1.x.
        Returns:
        The effective protocol level.
        Since:
        5.3
      • 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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object