|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpClientConnectionFactory
A factory for connections to the physical Http Server. Returns pooled/non-pooled
connections based on configuration. User of this factory has an option either to
use the direct org.apache.http.HttpClientConnection or HttpClientWrapper
(restricted API of
org.apache.http.client.HttpClient).
Method Summary | |
---|---|
org.apache.http.HttpHost |
getHostConfiguration()
Returns HttpHost configuration bound with this factory. |
HttpClientWrapper |
getHttpClient()
Returns the HttpClientWrapper bound with this factory. |
org.apache.http.HttpClientConnection |
getHttpConnection()
Returns the http connection with bound configuration. |
org.apache.http.HttpClientConnection |
getHttpConnection(org.apache.http.conn.routing.HttpRoute route)
Returns the http connection for the given HttpRoute. |
org.apache.http.params.HttpParams |
getHttpParams()
Returns HTTPParams bound with this factory. |
Method Detail |
---|
org.apache.http.HttpClientConnection getHttpConnection() throws org.apache.http.HttpException
org.apache.http.HttpException
- the http exceptionorg.apache.http.HttpClientConnection getHttpConnection(org.apache.http.conn.routing.HttpRoute route) throws org.apache.http.HttpException
route
-
org.apache.http.HttpException
HttpClientWrapper getHttpClient() throws org.apache.http.HttpException
org.apache.http.HttpException
org.apache.http.HttpHost getHostConfiguration()
org.apache.http.params.HttpParams getHttpParams()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |