Package com.attivio.sdk.scanner.http
Interface HttpConnectionConfig
-
public interface HttpConnectionConfigHttp client connections Configuration parameters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaxConnPerRoute()intgetMaxConnTotal()voidsetMaxConnPerRoute(int maxConnectionsPerRoute)voidsetMaxConnTotal(int maxConnTotal)
-
-
-
Method Detail
-
getMaxConnTotal
int getMaxConnTotal()
- Returns:
- the maximum open connections for the Http client
-
setMaxConnTotal
void setMaxConnTotal(int maxConnTotal)
- Parameters:
maxConnTotal- the maximum open connections for the Http client
-
getMaxConnPerRoute
int getMaxConnPerRoute()
- Returns:
- the maximum open connections for route (host/proxy combination)
-
setMaxConnPerRoute
void setMaxConnPerRoute(int maxConnectionsPerRoute)
- Parameters:
maxConnectionsPerRoute- the maximum open connections for route (host/proxy combination)
-
-