|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.wbem.http.HttpClientPool
Constructor Summary | |
HttpClientPool()
|
Method Summary | |
void |
closePool(boolean pKeepActive)
|
protected void |
finalize()
|
int |
getNumberOfAllConnections()
Returns the number of connections in this pool that are available/free for (re-)use. |
int |
getNumberOfAvailableConnections()
Returns the number of all connections in this pool. |
int |
getPoolSize()
Returns poolSize |
SessionProperties |
getSessionProperties()
|
boolean |
removeConnectionFromPool(HttpClient httpClient)
Removes a connection completly from the pool. |
HttpClient |
retrieveAvailableConnectionFromPool(java.net.URI pUri,
AuthorizationHandler pHandler)
Returns the available connections of this pool for a given URI&AuthorizationHandler |
boolean |
returnAvailableConnectionToPool(HttpClient httpClient)
Add the connection to the pool. |
void |
setSessionProperties(SessionProperties pSessionProperties)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HttpClientPool()
Method Detail |
public int getNumberOfAllConnections()
public int getNumberOfAvailableConnections()
public SessionProperties getSessionProperties()
public void setSessionProperties(SessionProperties pSessionProperties)
public HttpClient retrieveAvailableConnectionFromPool(java.net.URI pUri, AuthorizationHandler pHandler)
pUri
- The uripHandler
- The authoriaztion handler
null
otherwisepublic boolean returnAvailableConnectionToPool(HttpClient httpClient)
#addConnectionToPool(HttpClient)
to add
the connection without being available for reuse.
httpClient
- connection that is to be added to the pool
public boolean removeConnectionFromPool(HttpClient httpClient)
httpClient
- connection that is to be removed from the pool
public void closePool(boolean pKeepActive)
protected void finalize()
public int getPoolSize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |