Class StringHttpClientResponseHandler

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

public class StringHttpClientResponseHandler extends BaseHttpClientResponseHandler<String>
A HTTP response handler that treats the response as a text content
Since:
8.9.3
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • StringHttpClientResponseHandler

      public StringHttpClientResponseHandler()
  • 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