Package com.helger.smpclient.httpclient
Class SMPHttpResponseHandlerWriteOperations
java.lang.Object
com.helger.smpclient.httpclient.AbstractSMPResponseHandler<Object>
com.helger.smpclient.httpclient.SMPHttpResponseHandlerWriteOperations
- All Implemented Interfaces:
org.apache.hc.core5.http.io.HttpClientResponseHandler<Object>
This is the Apache HTTP client response handler for messages which don't
deliver a response body (PUT or DELETE HTTP operations).
Note: this class is also licensed under Apache 2 license, as it was not part of the original implementation
- Author:
- Philip Helger
-
Constructor Summary
Constructors -
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
-
SMPHttpResponseHandlerWriteOperations
public SMPHttpResponseHandlerWriteOperations()
-
-
Method Details
-
handleEntity
@Nullable public Object handleEntity(@Nonnull org.apache.hc.core5.http.HttpEntity aEntity) throws IOException Description copied from class:AbstractSMPResponseHandlerHandle the response entity and transform it into the actual response object.- Specified by:
handleEntityin classAbstractSMPResponseHandler<Object>- Parameters:
aEntity- The entity to handle. Nevernull.- Returns:
- the result. May be
null. - Throws:
IOException- on IO error
-