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 classHttpResponseExceptionSignals a non 2xx HTTP response.Methods in org.apache.http.client that throw ClientProtocolException Modifier and Type Method Description org.apache.http.HttpResponseHttpClient. execute(HttpUriRequest request)Executes HTTP request using the default context.<T> THttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler)Executes HTTP request using the default context and processes the response using the given response handler.<T> THttpClient. 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.HttpResponseHttpClient. execute(HttpUriRequest request, org.apache.http.protocol.HttpContext context)Executes HTTP request using the given context.org.apache.http.HttpResponseHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)Executes HTTP request using the default context.<T> THttpClient. 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> THttpClient. 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.HttpResponseHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)Executes HTTP request using the given context.TResponseHandler. handleResponse(org.apache.http.HttpResponse response)Processes anHttpResponseand 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 ResponseExecutor. execute(Request request)Executes the request.ResponseRequest. execute()<T> TResponse. handleResponse(ResponseHandler<T> handler)Handles the response using the specifiedResponseHandler(package private) org.apache.http.HttpResponseRequest. internalExecute(HttpClient client, org.apache.http.protocol.HttpContext localContext)ContentResponse. 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.HttpHostCloseableHttpClient. determineTarget(HttpUriRequest request)protected CloseableHttpResponseAbstractHttpClient. doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)Deprecated.protected abstract CloseableHttpResponseCloseableHttpClient. doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)protected CloseableHttpResponseInternalHttpClient. doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)protected CloseableHttpResponseMinimalHttpClient. doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)CloseableHttpResponseCloseableHttpClient. execute(HttpUriRequest request)Executes HTTP request using the default context.<T> TCloseableHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler)Executes a request using the default context and processes the response using the given response handler.<T> TCloseableHttpClient. 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.CloseableHttpResponseCloseableHttpClient. execute(HttpUriRequest request, org.apache.http.protocol.HttpContext context)Executes HTTP request using the given context.CloseableHttpResponseCloseableHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)Executes HTTP request using the default context.<T> TCloseableHttpClient. 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> TCloseableHttpClient. 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.CloseableHttpResponseCloseableHttpClient. 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.HttpResponseDecompressingHttpClient. execute(HttpUriRequest request)Deprecated.<T> TDecompressingHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler)Deprecated.<T> TDecompressingHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)Deprecated.org.apache.http.HttpResponseDecompressingHttpClient. execute(HttpUriRequest request, org.apache.http.protocol.HttpContext context)Deprecated.org.apache.http.HttpResponseDecompressingHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)Deprecated.<T> TDecompressingHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, ResponseHandler<? extends T> responseHandler)Deprecated.<T> TDecompressingHttpClient. 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.HttpResponseDecompressingHttpClient. 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.HttpResponseCachingHttpClient. handleCacheHit(org.apache.http.HttpHost target, HttpRequestWrapper request, org.apache.http.protocol.HttpContext context, HttpCacheEntry entry)Deprecated.voidRequestProtocolCompliance. makeRequestCompliant(HttpRequestWrapper request)If theHttpRequestis non-compliant but 'fixable' we go ahead and fix the request here.private org.apache.http.HttpResponseCachingHttpClient. revalidateCacheEntry(org.apache.http.HttpHost target, HttpRequestWrapper request, org.apache.http.protocol.HttpContext context, HttpCacheEntry entry, java.util.Date now)Deprecated.
-