Class RemoteConnectorResponseImpl

    • Constructor Detail

      • RemoteConnectorResponseImpl

        public RemoteConnectorResponseImpl​(RemoteConnectorRequest request,
                                           java.lang.String contentType,
                                           java.lang.String charset,
                                           int status,
                                           org.apache.commons.httpclient.Header[] headers,
                                           java.io.InputStream response)
        Creates a new Response object with the data coming from a stream. Because of the HttpClient lifecycle, a HttpClient response InputStream shouldn't be used as cleanup is needed
      • RemoteConnectorResponseImpl

        public RemoteConnectorResponseImpl​(RemoteConnectorRequest request,
                                           java.lang.String contentType,
                                           java.lang.String charset,
                                           int status,
                                           org.apache.commons.httpclient.Header[] headers,
                                           byte[] response)