Package io.hyperfoil.http.config
Class Http
- java.lang.Object
-
- io.hyperfoil.http.config.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttp.KeyManagerstatic classHttp.TrustManager
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]addresses()ConnectionStrategyconnectionStrategy()booleandirectHttp2()java.lang.Stringhost()booleanisDefault()Http.KeyManagerkeyManager()intmaxHttp2Streams()java.lang.Stringname()java.lang.StringoriginalDestination()The difference between this method and authority is that the port is optional; this is exactly what the user typed into thehost:property and will be used for the Host/SNI header.intpipeliningLimit()intport()Protocolprotocol()booleanrawBytesHandlers()longrequestTimeout()ConnectionPoolConfigsharedConnections()Http.TrustManagertrustManager()HttpVersion[]versions()
-
-
-
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 thehost:property and will be used for the Host/SNI header.
-
protocol
public Protocol protocol()
-
host
public java.lang.String host()
-
port
public int port()
-
versions
public HttpVersion[] versions()
-
maxHttp2Streams
public int maxHttp2Streams()
-
pipeliningLimit
public int pipeliningLimit()
-
sharedConnections
public ConnectionPoolConfig sharedConnections()
-
directHttp2
public boolean directHttp2()
-
isDefault
public boolean isDefault()
-
requestTimeout
public long requestTimeout()
-
addresses
public java.lang.String[] addresses()
-
rawBytesHandlers
public boolean rawBytesHandlers()
-
trustManager
public Http.TrustManager trustManager()
-
keyManager
public Http.KeyManager keyManager()
-
connectionStrategy
public ConnectionStrategy connectionStrategy()
-
-