Code example for HttpClient

Methods: execute

0
    return httpClient.execute(httpHost, httpRequest, httpContext);
  } 
 
  @Implementation 
  public <T> T execute(HttpUriRequest httpUriRequest, ResponseHandler<? extends T> responseHandler) throws IOException, ClientProtocolException {
    return httpClient.execute(httpUriRequest, responseHandler);
  } 
 
  @Implementation 
  public <T> T execute(HttpUriRequest httpUriRequest, ResponseHandler<? extends T> responseHandler, HttpContext httpContext) throws IOException, ClientProtocolException {
    return httpClient.execute(httpUriRequest, responseHandler, httpContext);
  } 
 
  @Implementation 
  public <T> T execute(HttpHost httpHost, HttpRequest httpRequest, ResponseHandler<? extends T> responseHandler) throws IOException, ClientProtocolException {
    return httpClient.execute(httpHost, httpRequest, responseHandler);
  } 
 
  @Implementation 
  public <T> T execute(HttpHost httpHost, HttpRequest httpRequest, ResponseHandler<? extends T> responseHandler, HttpContext httpContext) throws IOException, ClientProtocolException {
    return httpClient.execute(httpHost, httpRequest, responseHandler, httpContext);