org.mobicents.client.slee.resource.http
Class HttpClientWrapper
java.lang.Object
org.mobicents.client.slee.resource.http.HttpClientWrapper
- All Implemented Interfaces:
- org.apache.http.client.HttpClient
public class HttpClientWrapper
- extends java.lang.Object
- implements org.apache.http.client.HttpClient
A wrapper for a HttpClient, which forbiddens access to the connection
manager.
- Author:
- martins
|
Method Summary |
org.apache.http.HttpResponse |
execute(org.apache.http.HttpHost arg0,
org.apache.http.HttpRequest arg1)
|
org.apache.http.HttpResponse |
execute(org.apache.http.HttpHost arg0,
org.apache.http.HttpRequest arg1,
org.apache.http.protocol.HttpContext arg2)
|
|
execute(org.apache.http.HttpHost arg0,
org.apache.http.HttpRequest arg1,
org.apache.http.client.ResponseHandler<? extends T> arg2)
|
|
execute(org.apache.http.HttpHost arg0,
org.apache.http.HttpRequest arg1,
org.apache.http.client.ResponseHandler<? extends T> arg2,
org.apache.http.protocol.HttpContext arg3)
|
org.apache.http.HttpResponse |
execute(org.apache.http.client.methods.HttpUriRequest arg0)
|
org.apache.http.HttpResponse |
execute(org.apache.http.client.methods.HttpUriRequest arg0,
org.apache.http.protocol.HttpContext arg1)
|
|
execute(org.apache.http.client.methods.HttpUriRequest arg0,
org.apache.http.client.ResponseHandler<? extends T> arg1)
|
|
execute(org.apache.http.client.methods.HttpUriRequest arg0,
org.apache.http.client.ResponseHandler<? extends T> arg1,
org.apache.http.protocol.HttpContext arg2)
|
org.apache.http.conn.ClientConnectionManager |
getConnectionManager()
|
org.apache.http.params.HttpParams |
getParams()
|
org.apache.http.client.HttpClient |
getWrappedHttpClient()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClientWrapper
public HttpClientWrapper(org.apache.http.client.HttpClient httpClient)
getWrappedHttpClient
public org.apache.http.client.HttpClient getWrappedHttpClient()
execute
public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest arg0)
throws java.io.IOException,
org.apache.http.client.ClientProtocolException
- Specified by:
execute in interface org.apache.http.client.HttpClient
- Throws:
java.io.IOException
org.apache.http.client.ClientProtocolException
execute
public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest arg0,
org.apache.http.protocol.HttpContext arg1)
throws java.io.IOException,
org.apache.http.client.ClientProtocolException
- Specified by:
execute in interface org.apache.http.client.HttpClient
- Throws:
java.io.IOException
org.apache.http.client.ClientProtocolException
execute
public org.apache.http.HttpResponse execute(org.apache.http.HttpHost arg0,
org.apache.http.HttpRequest arg1)
throws java.io.IOException,
org.apache.http.client.ClientProtocolException
- Specified by:
execute in interface org.apache.http.client.HttpClient
- Throws:
java.io.IOException
org.apache.http.client.ClientProtocolException
execute
public <T> T execute(org.apache.http.client.methods.HttpUriRequest arg0,
org.apache.http.client.ResponseHandler<? extends T> arg1)
throws java.io.IOException,
org.apache.http.client.ClientProtocolException
- Specified by:
execute in interface org.apache.http.client.HttpClient
- Throws:
java.io.IOException
org.apache.http.client.ClientProtocolException
execute
public org.apache.http.HttpResponse execute(org.apache.http.HttpHost arg0,
org.apache.http.HttpRequest arg1,
org.apache.http.protocol.HttpContext arg2)
throws java.io.IOException,
org.apache.http.client.ClientProtocolException
- Specified by:
execute in interface org.apache.http.client.HttpClient
- Throws:
java.io.IOException
org.apache.http.client.ClientProtocolException
execute
public <T> T execute(org.apache.http.client.methods.HttpUriRequest arg0,
org.apache.http.client.ResponseHandler<? extends T> arg1,
org.apache.http.protocol.HttpContext arg2)
throws java.io.IOException,
org.apache.http.client.ClientProtocolException
- Specified by:
execute in interface org.apache.http.client.HttpClient
- Throws:
java.io.IOException
org.apache.http.client.ClientProtocolException
execute
public <T> T execute(org.apache.http.HttpHost arg0,
org.apache.http.HttpRequest arg1,
org.apache.http.client.ResponseHandler<? extends T> arg2)
throws java.io.IOException,
org.apache.http.client.ClientProtocolException
- Specified by:
execute in interface org.apache.http.client.HttpClient
- Throws:
java.io.IOException
org.apache.http.client.ClientProtocolException
execute
public <T> T execute(org.apache.http.HttpHost arg0,
org.apache.http.HttpRequest arg1,
org.apache.http.client.ResponseHandler<? extends T> arg2,
org.apache.http.protocol.HttpContext arg3)
throws java.io.IOException,
org.apache.http.client.ClientProtocolException
- Specified by:
execute in interface org.apache.http.client.HttpClient
- Throws:
java.io.IOException
org.apache.http.client.ClientProtocolException
getConnectionManager
public org.apache.http.conn.ClientConnectionManager getConnectionManager()
- Specified by:
getConnectionManager in interface org.apache.http.client.HttpClient
getParams
public org.apache.http.params.HttpParams getParams()
- Specified by:
getParams in interface org.apache.http.client.HttpClient
Copyright © 2011. All Rights Reserved.