/** * Execute the given HttpPost instance. * @param config the HTTP invoker configuration that specifies the target service * @param httpClient the HttpClient to execute on * @param httpPost the HttpPost to execute * @return the resulting HttpResponse * @throws java.io.IOException if thrown by I/O methods */ protected HttpResponse executeHttpPost( HttpInvokerClientConfiguration config, HttpClient httpClient, HttpPost httpPost) throws IOException { return httpClient.execute(httpPost); }
@Override public ClientConnectionManager getConnectionManager() { return delegate.getConnectionManager(); }
@Override public HttpParams getParams() { return delegate.getParams(); }
@Override public <T> T execute(HttpHost host, HttpRequest request, ResponseHandler<? extends T> handler, HttpContext context) throws IOException { HttpResponse response = execute(host, request, context); try { return handler.handleResponse(response); } finally { consumeContentQuietly(response); } }
/** * Execute the given HttpPost instance. * @param config the HTTP invoker configuration that specifies the target service * @param httpClient the HttpClient to execute on * @param httpPost the HttpPost to execute * @return the resulting HttpResponse * @throws java.io.IOException if thrown by I/O methods */ protected HttpResponse executeHttpPost( HttpInvokerClientConfiguration config, HttpClient httpClient, HttpPost httpPost) throws IOException { return httpClient.execute(httpPost); }
@Override public HttpResponse execute(HttpUriRequest request, HttpContext context) throws IOException, ClientProtocolException { return delegate.execute(request, context); }
@Override public <T> T execute(HttpHost target, HttpRequest request, ResponseHandler<? extends T> responseHandler) throws IOException, ClientProtocolException { return delegate.execute(target, request, responseHandler); }
@Override public HttpResponse execute(HttpUriRequest request) throws IOException, ClientProtocolException { return delegate.execute(request); }
@Override public HttpResponse execute(HttpHost target, HttpRequest request) throws IOException, ClientProtocolException { return delegate.execute(target, request); }
@Override public <T> T execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler, HttpContext context) throws IOException, ClientProtocolException { return delegate.execute(request, responseHandler, context); }
@Override public <T> T execute(HttpHost target, HttpRequest request, ResponseHandler<? extends T> responseHandler, HttpContext context) throws IOException, ClientProtocolException { return delegate.execute(target, request, responseHandler, context); }
@Override public <T> T execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler) throws IOException, ClientProtocolException { return delegate.execute(request, responseHandler); }
@Override public HttpResponse execute(HttpHost target, HttpRequest request, HttpContext context) throws IOException, ClientProtocolException { return delegate.execute(target, request, context); }
@Implementation protected HttpResponse execute( HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) throws IOException, ClientProtocolException { return httpClient.execute(httpHost, httpRequest, httpContext); }
@Implementation protected HttpResponse execute(HttpUriRequest httpUriRequest) throws IOException, ClientProtocolException { return httpClient.execute(httpUriRequest); }
@Implementation protected <T> T execute( HttpUriRequest httpUriRequest, ResponseHandler<? extends T> responseHandler, HttpContext httpContext) throws IOException, ClientProtocolException { return httpClient.execute(httpUriRequest, responseHandler, httpContext); }
@Implementation protected HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest) throws IOException, ClientProtocolException { return httpClient.execute(httpHost, httpRequest); }
@Implementation protected <T> T execute( HttpHost httpHost, HttpRequest httpRequest, ResponseHandler<? extends T> responseHandler, HttpContext httpContext) throws IOException, ClientProtocolException { return httpClient.execute(httpHost, httpRequest, responseHandler, httpContext); } }