Package org.geotools.http
Interface HTTPConnectionPooling
- All Superinterfaces:
AutoCloseable
,Closeable
,HTTPBehavior
- All Known Implementing Classes:
MultithreadedHttpClient
Interface to support clients that uses a connection pool
- Author:
- Roar Brænden
-
Method Summary
Modifier and TypeMethodDescriptionint
Max connections kept in the poolvoid
setMaxConnections
(int maxConnections) Sets max connections kept in the pool
-
Method Details
-
getMaxConnections
int getMaxConnections()Max connections kept in the pool- Returns:
-
setMaxConnections
void setMaxConnections(int maxConnections) Sets max connections kept in the pool- Parameters:
maxConnections
-
-