## 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.

- - ### Uses of ClientProtocolException in org.apache.http.client

    Subclasses of ClientProtocolException in org.apache.http.client
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HttpResponseException` Signals a non 2xx HTTP response.

    Methods in org.apache.http.client that throw ClientProtocolException
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.http.HttpResponse` | HttpClient.`execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)` Executes HTTP request using the default context.
    `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> 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(HttpUriRequest request)` Executes HTTP request using the default context.
    `org.apache.http.HttpResponse` | HttpClient.`execute(HttpUriRequest request, org.apache.http.protocol.HttpContext context)` Executes HTTP request using the given 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.
    `T` | ResponseHandler.`handleResponse(org.apache.http.HttpResponse response)` Processes an `HttpResponse` 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 and Description
    --- | ---
    `Response` | Request.`execute()`
    `Response` | Executor.`execute(Request request)` Executes the request.
    `<T> T` | Response.`handleResponse(ResponseHandler<T> handler)` Handles the response using the specified `ResponseHandler`
    `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 and Description
    --- | ---
    `protected abstract CloseableHttpResponse` | CloseableHttpClient.`doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)`
    `protected CloseableHttpResponse` | AbstractHttpClient.`doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)` Deprecated.
    `CloseableHttpResponse` | CloseableHttpClient.`execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)` Executes HTTP request using the default context.
    `org.apache.http.HttpResponse` | DecompressingHttpClient.`execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)` Deprecated.
    `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(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)` Deprecated.
    `<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` | DecompressingHttpClient.`execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, ResponseHandler<? extends T> responseHandler)` Deprecated.
    `<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.
    `<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.
    `CloseableHttpResponse` | CloseableHttpClient.`execute(HttpUriRequest request)` Executes HTTP request using the default context.
    `org.apache.http.HttpResponse` | DecompressingHttpClient.`execute(HttpUriRequest request)` Deprecated.
    `CloseableHttpResponse` | CloseableHttpClient.`execute(HttpUriRequest request, org.apache.http.protocol.HttpContext context)` Executes HTTP request using the given context.
    `org.apache.http.HttpResponse` | DecompressingHttpClient.`execute(HttpUriRequest request, org.apache.http.protocol.HttpContext context)` Deprecated.
    `<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` | DecompressingHttpClient.`execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler)` Deprecated.
    `<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.
    `<T> T` | DecompressingHttpClient.`execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)` Deprecated.

Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.