Package com.helger.smpclient.httpclient
Class SMPHttpResponseHandlerUnsigned<T>
java.lang.Object
com.helger.smpclient.httpclient.AbstractSMPResponseHandler<T>
com.helger.smpclient.httpclient.SMPHttpResponseHandlerUnsigned<T>
- Type Parameters:
T- The type of object to be handled.
- All Implemented Interfaces:
org.apache.hc.core5.http.io.HttpClientResponseHandler<T>
This is the Apache HTTP client response handler to verify unsigned HTTP
response messages.
Note: this class is also licensed under Apache 2 license, as it was not part of the original implementation
- Author:
- Philip Helger
-
Constructor Summary
ConstructorsConstructorDescriptionSMPHttpResponseHandlerUnsigned(com.helger.jaxb.GenericJAXBMarshaller<T> aMarshaller) -
Method Summary
Modifier and TypeMethodDescriptionhandleEntity(org.apache.hc.core5.http.HttpEntity aEntity) Handle the response entity and transform it into the actual response object.Methods inherited from class com.helger.smpclient.httpclient.AbstractSMPResponseHandler
handleResponse
-
Constructor Details
-
SMPHttpResponseHandlerUnsigned
-
-
Method Details
-
handleEntity
@Nonnull public T handleEntity(@Nonnull org.apache.hc.core5.http.HttpEntity aEntity) throws SMPClientBadResponseException, IOException Description copied from class:AbstractSMPResponseHandlerHandle the response entity and transform it into the actual response object.- Specified by:
handleEntityin classAbstractSMPResponseHandler<T>- Parameters:
aEntity- The entity to handle. Nevernull.- Returns:
- the result. May be
null. - Throws:
SMPClientBadResponseException- if something goes wrongIOException- on IO error
-