Class Http

  • All Implemented Interfaces:
    java.io.Serializable

    public class Http
    extends java.lang.Object
    implements java.io.Serializable
    Author:
    Ståle Pedersen
    See Also:
    Serialized Form
    • Constructor Detail

      • Http

        public Http​(java.lang.String name,
                    boolean isDefault,
                    java.lang.String originalDestination,
                    Protocol protocol,
                    java.lang.String host,
                    int port,
                    java.lang.String[] addresses,
                    HttpVersion[] versions,
                    int maxHttp2Streams,
                    int pipeliningLimit,
                    ConnectionPoolConfig sharedConnections,
                    boolean directHttp2,
                    long requestTimeout,
                    boolean rawBytesHandlers,
                    Http.KeyManager keyManager,
                    Http.TrustManager trustManager,
                    ConnectionStrategy connectionStrategy)
    • Method Detail

      • name

        public java.lang.String name()
      • originalDestination

        public java.lang.String originalDestination()
        The difference between this method and authority is that the port is optional; this is exactly what the user typed into the host: property and will be used for the Host/SNI header.
      • host

        public java.lang.String host()
      • port

        public int port()
      • maxHttp2Streams

        public int maxHttp2Streams()
      • pipeliningLimit

        public int pipeliningLimit()
      • directHttp2

        public boolean directHttp2()
      • isDefault

        public boolean isDefault()
      • requestTimeout

        public long requestTimeout()
      • addresses

        public java.lang.String[] addresses()
      • rawBytesHandlers

        public boolean rawBytesHandlers()