Class StreamHttpClientResponseHandler

java.lang.Object
org.apache.hc.client5.http.impl.classic.AbstractHttpClientResponseHandler<String>
com.logicaldoc.util.http.BaseHttpClientResponseHandler<String>
com.logicaldoc.util.http.StreamHttpClientResponseHandler
All Implemented Interfaces:
org.apache.hc.core5.http.io.HttpClientResponseHandler<String>

public class StreamHttpClientResponseHandler extends BaseHttpClientResponseHandler<String>
A HTTP response handler that writes the response into a given output stream
Since:
8.9.3
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • StreamHttpClientResponseHandler

      public StreamHttpClientResponseHandler(OutputStream stream)
  • Method Details

    • handleEntity

      public String handleEntity(org.apache.hc.core5.http.HttpEntity entity) throws IOException
      Specified by:
      handleEntity in class org.apache.hc.client5.http.impl.classic.AbstractHttpClientResponseHandler<String>
      Throws:
      IOException