Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.commons.httpclient.SimpleHttpConnectionManager
Field Summary | |
protected HttpConnection |
|
Constructor Summary | |
Method Summary | |
void |
|
HttpConnection |
|
HttpConnection |
|
HttpConnection |
|
HttpConnectionManagerParams |
|
boolean | |
void | |
void |
|
void |
|
public void closeIdleConnections(long idleTimeout)
- Specified by:
- closeIdleConnections in interface HttpConnectionManager
- Since:
- 3.0
public HttpConnection getConnection(HostConfiguration hostConfiguration)
- Specified by:
- getConnection in interface HttpConnectionManager
public HttpConnection getConnection(HostConfiguration hostConfiguration, long timeout)
Deprecated. Use #getConnectionWithTimeout(HostConfiguration, long)
- Specified by:
- getConnection in interface HttpConnectionManager
public HttpConnection getConnectionWithTimeout(HostConfiguration hostConfiguration, long timeout)
- Specified by:
- getConnectionWithTimeout in interface HttpConnectionManager
- Since:
- 3.0
public HttpConnectionManagerParams getParams()
Returnsparameters
associated with this connection manager.
- Specified by:
- getParams in interface HttpConnectionManager
- Since:
- 2.1
- See Also:
HttpConnectionManagerParams
public boolean isConnectionStaleCheckingEnabled()
Deprecated. Use
HttpConnectionManagerParams.isStaleCheckingEnabled()
,HttpConnectionManager.getParams()
.Gets the staleCheckingEnabled value to be set on HttpConnections that are created.
- Returns:
true
if stale checking will be enabled on HttpConections
public void releaseConnection(HttpConnection conn)
- Specified by:
- releaseConnection in interface HttpConnectionManager
public void setConnectionStaleCheckingEnabled(boolean connectionStaleCheckingEnabled)
Deprecated. Use
HttpConnectionManagerParams.setStaleCheckingEnabled(boolean)
,HttpConnectionManager.getParams()
.Sets the staleCheckingEnabled value to be set on HttpConnections that are created.
- Parameters:
connectionStaleCheckingEnabled
-true
if stale checking will be enabled on HttpConections
public void setParams(HttpConnectionManagerParams params)
Assignsparameters
for this connection manager.
- Specified by:
- setParams in interface HttpConnectionManager
- Since:
- 2.1
- See Also:
HttpConnectionManagerParams