OutputT- Type of successful unmarshalled POJO.
public class CombinedResponseHandler<OutputT> extends Object implements HttpResponseHandler<Response<OutputT>>
Responseobject which may contain either the unmarshalled success POJO, or the unmarshalled exception. Can be used with streaming or non-streaming requests.
|Constructor and Description|
|Modifier and Type||Method and Description|
Accepts an HTTP response object, and returns an object of type T.
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Response<OutputT> handle(SdkHttpFullResponse httpResponse, ExecutionAttributes executionAttributes) throws Exception
httpResponse- The HTTP response to handle, as received from an AWS service.
executionAttributes- The attributes attached to this particular execution.
Exception- If any problems are encountered handling the response.