Uses of Class
org.apache.http.client.ClientProtocolException
-
Packages that use ClientProtocolException Package Description org.apache.http.client Client HTTP communication APIs.org.apache.http.client.fluent Simple facade APIs for HttpClient based on the concept of a fluent interface.org.apache.http.impl.client Default HTTP client implementation.org.apache.http.impl.client.cache This package contains a cache module that can be used for HTTP/1.1 client-side caching. -
-
Uses of ClientProtocolException in org.apache.http.client
Subclasses of ClientProtocolException in org.apache.http.client Modifier and Type Class Description class
HttpResponseException
Signals a non 2xx HTTP response.Methods in org.apache.http.client that throw ClientProtocolException Modifier and Type Method Description org.apache.http.HttpResponse
HttpClient. execute(HttpUriRequest request)
Executes HTTP request using the default context.<T> T
HttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler)
Executes HTTP request using the default context and processes the response using the given response handler.<T> T
HttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)
Executes HTTP request using the given context and processes the response using the given response handler.org.apache.http.HttpResponse
HttpClient. execute(HttpUriRequest request, org.apache.http.protocol.HttpContext context)
Executes HTTP request using the given context.org.apache.http.HttpResponse
HttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)
Executes HTTP request using the default context.<T> T
HttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, ResponseHandler<? extends T> responseHandler)
Executes HTTP request to the target using the default context and processes the response using the given response handler.<T> T
HttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)
Executes HTTP request to the target using the given context and processes the response using the given response handler.org.apache.http.HttpResponse
HttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
Executes HTTP request using the given context.T
ResponseHandler. handleResponse(org.apache.http.HttpResponse response)
Processes anHttpResponse
and returns some value corresponding to that response. -
Uses of ClientProtocolException in org.apache.http.client.fluent
Methods in org.apache.http.client.fluent that throw ClientProtocolException Modifier and Type Method Description Response
Executor. execute(Request request)
Executes the request.Response
Request. execute()
<T> T
Response. handleResponse(ResponseHandler<T> handler)
Handles the response using the specifiedResponseHandler
(package private) org.apache.http.HttpResponse
Request. internalExecute(HttpClient client, org.apache.http.protocol.HttpContext localContext)
Content
Response. returnContent()
-
Uses of ClientProtocolException in org.apache.http.impl.client
Methods in org.apache.http.impl.client that throw ClientProtocolException Modifier and Type Method Description private static org.apache.http.HttpHost
CloseableHttpClient. determineTarget(HttpUriRequest request)
protected CloseableHttpResponse
AbstractHttpClient. doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
Deprecated.protected abstract CloseableHttpResponse
CloseableHttpClient. doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
protected CloseableHttpResponse
InternalHttpClient. doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
protected CloseableHttpResponse
MinimalHttpClient. doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
CloseableHttpResponse
CloseableHttpClient. execute(HttpUriRequest request)
Executes HTTP request using the default context.<T> T
CloseableHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler)
Executes a request using the default context and processes the response using the given response handler.<T> T
CloseableHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)
Executes a request using the default context and processes the response using the given response handler.CloseableHttpResponse
CloseableHttpClient. execute(HttpUriRequest request, org.apache.http.protocol.HttpContext context)
Executes HTTP request using the given context.CloseableHttpResponse
CloseableHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)
Executes HTTP request using the default context.<T> T
CloseableHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, ResponseHandler<? extends T> responseHandler)
Executes a request using the default context and processes the response using the given response handler.<T> T
CloseableHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)
Executes a request using the default context and processes the response using the given response handler.CloseableHttpResponse
CloseableHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
Executes HTTP request using the given context.org.apache.http.HttpResponse
DecompressingHttpClient. execute(HttpUriRequest request)
Deprecated.<T> T
DecompressingHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler)
Deprecated.<T> T
DecompressingHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)
Deprecated.org.apache.http.HttpResponse
DecompressingHttpClient. execute(HttpUriRequest request, org.apache.http.protocol.HttpContext context)
Deprecated.org.apache.http.HttpResponse
DecompressingHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)
Deprecated.<T> T
DecompressingHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, ResponseHandler<? extends T> responseHandler)
Deprecated.<T> T
DecompressingHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)
Deprecated.org.apache.http.HttpResponse
DecompressingHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
Deprecated. -
Uses of ClientProtocolException in org.apache.http.impl.client.cache
Methods in org.apache.http.impl.client.cache that throw ClientProtocolException Modifier and Type Method Description private org.apache.http.HttpResponse
CachingHttpClient. handleCacheHit(org.apache.http.HttpHost target, HttpRequestWrapper request, org.apache.http.protocol.HttpContext context, HttpCacheEntry entry)
Deprecated.void
RequestProtocolCompliance. makeRequestCompliant(HttpRequestWrapper request)
If theHttpRequest
is non-compliant but 'fixable' we go ahead and fix the request here.private org.apache.http.HttpResponse
CachingHttpClient. revalidateCacheEntry(org.apache.http.HttpHost target, HttpRequestWrapper request, org.apache.http.protocol.HttpContext context, HttpCacheEntry entry, java.util.Date now)
Deprecated.
-