Class EMHttpClientDefaultImpl

java.lang.Object
com.aeontronix.enhancedmule.tools.util.EMHttpClientDefaultImpl
All Implemented Interfaces:
EMHttpClient, Closeable, AutoCloseable

public class EMHttpClientDefaultImpl extends Object implements EMHttpClient
  • Constructor Details

    • EMHttpClientDefaultImpl

      public EMHttpClientDefaultImpl(org.apache.http.impl.client.CloseableHttpClient httpClient)
  • Method Details

    • execute

      public org.apache.http.client.methods.CloseableHttpResponse execute(org.apache.http.client.methods.HttpRequestBase request) throws IOException, org.apache.http.client.ClientProtocolException
      Specified by:
      execute in interface EMHttpClient
      Throws:
      IOException
      org.apache.http.client.ClientProtocolException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException