Class CommonsHttpClientResponseHandler

java.lang.Object
eu.europa.esig.dss.service.http.commons.CommonsHttpClientResponseHandler
All Implemented Interfaces:
org.apache.hc.core5.http.io.HttpClientResponseHandler<byte[]>

public class CommonsHttpClientResponseHandler extends Object implements org.apache.hc.core5.http.io.HttpClientResponseHandler<byte[]>
This is a default implementation of HttpClientResponseHandler<byte[]> to be used within eu.europa.esig.dss.service.http.commons.CommonsDataLoader. This class is used to read the org.apache.hc.core5.http.ClassicHttpResponse and return a byte[] representing the obtained data in case of success.