Package com.attivio.sdk.scanner.http
Interface HttpConnectionConfig
-
public interface HttpConnectionConfig
Http client connections Configuration parameters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxConnPerRoute()
int
getMaxConnTotal()
void
setMaxConnPerRoute(int maxConnectionsPerRoute)
void
setMaxConnTotal(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)
-
-