public HttpClientCallImpl(String method, String resourceUri) throws IOException
public HttpClientCallImpl(String method, String resourceUri, boolean hasInput) throws IOException
   public HttpClientCallImpl(String method, String resourceUri) throws IOException   {      this.requestMethod = method;            if(resourceUri.startsWith("http"))      {         URL url = new URL(resourceUri);         this.connection = (HttpURLConnection)url.openConnection();         this.requestUri = resourceUri;         this.confidential = (this.connection instanceof HttpsURLConnection);      }      else      {         throw new IllegalArgumentException("Only HTTP or HTTPS resource URIs are allowed here");      }            try      {         this.requestAddress = InetAddress.getLocalHost().getHostAddress();      }      catch(UnknownHostException e)      {         this.requestAddress = "127.0.0.1";      }   }