org.lastbamboo.common.http.client
Interface CommonsHttpClient

All Known Implementing Classes:
CommonsHttpClientImpl

public interface CommonsHttpClient

The interface to the Apache Commons implementation of our HTTP client interface.


Method Summary
 int executeMethod(org.apache.commons.httpclient.HttpMethod method)
          Executes a given HTTP method (from Commons HTTP).
 org.apache.commons.httpclient.HttpConnectionManager getHttpConnectionManager()
          Returns this client's HTTP connection manager.
 org.apache.commons.httpclient.params.HttpClientParams getParams()
          Returns this client's parameters.
 

Method Detail

executeMethod

int executeMethod(org.apache.commons.httpclient.HttpMethod method)
Executes a given HTTP method (from Commons HTTP).

Parameters:
method - The method to execute.
Returns:
The response code.

getParams

org.apache.commons.httpclient.params.HttpClientParams getParams()
Returns this client's parameters.

Returns:
This client's parameters.

getHttpConnectionManager

org.apache.commons.httpclient.HttpConnectionManager getHttpConnectionManager()
Returns this client's HTTP connection manager.

Returns:
This client's HTTP connection manager.


Copyright © 2013 LittleShoot. All Rights Reserved.