Class ResponseHandlerHttpEntity

java.lang.Object
com.helger.httpclient.response.ResponseHandlerHttpEntity
All Implemented Interfaces:
org.apache.hc.core5.http.io.HttpClientResponseHandler<org.apache.hc.core5.http.HttpEntity>

public class ResponseHandlerHttpEntity extends Object implements org.apache.hc.core5.http.io.HttpClientResponseHandler<org.apache.hc.core5.http.HttpEntity>
Base response handler that checks the status code and handles only status codes < 300.
Since:
8.7.2
Author:
Philip Helger
  • Field Details

  • Constructor Details

    • ResponseHandlerHttpEntity

      protected ResponseHandlerHttpEntity()
  • Method Details

    • handleResponse

      @Nullable public org.apache.hc.core5.http.HttpEntity handleResponse(@Nonnull org.apache.hc.core5.http.ClassicHttpResponse aHttpResponse) throws IOException
      Specified by:
      handleResponse in interface org.apache.hc.core5.http.io.HttpClientResponseHandler<org.apache.hc.core5.http.HttpEntity>
      Throws:
      IOException