public class SimpleHTTPClientConfiguration extends HTTP2Configuration
| 限定符和类型 | 字段和说明 |
|---|---|
static long |
defaultConnectTimeout |
static int |
defaultPoolSize |
| 构造器和说明 |
|---|
SimpleHTTPClientConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getConnectTimeout()
Get the connecting timeout.
|
HealthCheck |
getHealthCheck()
Get the HealthCheck.
|
int |
getPoolSize()
Get the HTTP client connection pool size.
|
void |
setConnectTimeout(long connectTimeout)
Set the connecting timeout.
|
void |
setHealthCheck(HealthCheck healthCheck)
Set the HealthCheck.
|
void |
setPoolSize(int poolSize)
Set the HTTP client connection pool size.
|
getCharacterEncoding, getFlowControlStrategy, getInitialSessionRecvWindow, getInitialStreamSendWindow, getMaxConcurrentStreams, getMaxDynamicTableSize, getMaxHeaderBlockFragment, getMaxRequestHeadLength, getMaxRequestTrailerLength, getMaxResponseHeadLength, getMaxResponseTrailerLength, getProtocol, getSecureSessionFactory, getStreamIdleTimeout, getTcpConfiguration, isSecureConnectionEnabled, setCharacterEncoding, setFlowControlStrategy, setInitialSessionRecvWindow, setInitialStreamSendWindow, setMaxConcurrentStreams, setMaxDynamicTableSize, setMaxHeaderBlockFragment, setMaxRequestHeadLength, setMaxRequestTrailerLength, setMaxResponseHeadLength, setMaxResponseTrailerLength, setProtocol, setSecureConnectionEnabled, setSecureSessionFactory, setStreamIdleTimeout, setTcpConfigurationpublic static final int defaultPoolSize
public static final long defaultConnectTimeout
public int getPoolSize()
public void setPoolSize(int poolSize)
poolSize - The HTTP client connection pool sizepublic long getConnectTimeout()
public void setConnectTimeout(long connectTimeout)
connectTimeout - The connecting timeout. The time unit is millisecond.public HealthCheck getHealthCheck()
public void setHealthCheck(HealthCheck healthCheck)
healthCheck - the HealthCheck.Copyright © 2017. All rights reserved.