public class HTTPSettings extends Object implements Serializable
| Constructor and Description |
|---|
HTTPSettings()
No args constructor for use in serialization
|
HTTPSettings(H2UpgradePolicy h2UpgradePolicy,
Integer http1MaxPendingRequests,
Integer http2MaxRequests,
Duration idleTimeout,
Integer maxRequestsPerConnection,
Integer maxRetries) |
| Modifier and Type | Method and Description |
|---|---|
H2UpgradePolicy |
getH2UpgradePolicy() |
Integer |
getHttp1MaxPendingRequests() |
Integer |
getHttp2MaxRequests() |
Duration |
getIdleTimeout() |
Integer |
getMaxRequestsPerConnection() |
Integer |
getMaxRetries() |
void |
setH2UpgradePolicy(H2UpgradePolicy h2UpgradePolicy) |
void |
setHttp1MaxPendingRequests(Integer http1MaxPendingRequests) |
void |
setHttp2MaxRequests(Integer http2MaxRequests) |
void |
setIdleTimeout(Duration idleTimeout) |
void |
setMaxRequestsPerConnection(Integer maxRequestsPerConnection) |
void |
setMaxRetries(Integer maxRetries) |
public HTTPSettings()
public HTTPSettings(H2UpgradePolicy h2UpgradePolicy, Integer http1MaxPendingRequests, Integer http2MaxRequests, Duration idleTimeout, Integer maxRequestsPerConnection, Integer maxRetries)
http2MaxRequests - maxRetries - h2UpgradePolicy - idleTimeout - http1MaxPendingRequests - maxRequestsPerConnection - public H2UpgradePolicy getH2UpgradePolicy()
public void setH2UpgradePolicy(H2UpgradePolicy h2UpgradePolicy)
public Integer getHttp1MaxPendingRequests()
public void setHttp1MaxPendingRequests(Integer http1MaxPendingRequests)
public Integer getHttp2MaxRequests()
public void setHttp2MaxRequests(Integer http2MaxRequests)
public Duration getIdleTimeout()
public void setIdleTimeout(Duration idleTimeout)
public Integer getMaxRequestsPerConnection()
public void setMaxRequestsPerConnection(Integer maxRequestsPerConnection)
public Integer getMaxRetries()
public void setMaxRetries(Integer maxRetries)
Copyright © 2017–2020 Red Hat. All rights reserved.