Package no.digipost.signature.client
Interface ConnectionPoolConfigurer
- All Known Implementing Classes:
ApacheHttpClientBuilderConfigurer
public interface ConnectionPoolConfigurer
Allows configuring aspects of the connection pool
used by the internal HTTP client.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe default amount of connections in the connection pool is 10. -
Method Summary
Modifier and TypeMethodDescriptionmaxTotalConnectionsInPool(int count) Set the amount of connections in the connection pool, if the default of 10 is not applicable for your integration.
-
Field Details
-
DEFAULT_TOTAL_CONNECTIONS_IN_POOL
static final int DEFAULT_TOTAL_CONNECTIONS_IN_POOLThe default amount of connections in the connection pool is 10. This may be overridden usingmaxTotalConnectionsInPool(int)- See Also:
-
-
Method Details
-
maxTotalConnectionsInPool
Set the amount of connections in the connection pool, if the default of 10 is not applicable for your integration.- Parameters:
count- the amount of connections in the connection pool
-