|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.entitybroker.util.http.HttpClientWrapper
public class HttpClientWrapper
Allows us to cleanly wrap an httpclient object without exposing the actual object class
| Constructor Summary | |
|---|---|
HttpClientWrapper(org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager multiThreadedHttpConnectionManager,
org.apache.commons.httpclient.HttpState initialHttpState)
This is meant for system use so you should not be constructing this, use the HttpRESTUtils.makeReusableHttpClient(boolean, int, javax.servlet.http.Cookie[]) instead |
|
| Method Summary | |
|---|---|
org.apache.commons.httpclient.HttpClient |
getHttpClient()
|
void |
resetState()
Resets the http client state between requests, this is not necessarily required but might be a good idea |
void |
shutdown()
cleanup and shutdown the http client |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpClientWrapper(org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager multiThreadedHttpConnectionManager,
org.apache.commons.httpclient.HttpState initialHttpState)
HttpRESTUtils.makeReusableHttpClient(boolean, int, javax.servlet.http.Cookie[]) instead
| Method Detail |
|---|
public org.apache.commons.httpclient.HttpClient getHttpClient()
public void resetState()
public void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||