Class AwsXmlPredicatedResponseHandler<OutputT>

java.lang.Object
software.amazon.awssdk.protocols.xml.internal.unmarshall.AwsXmlPredicatedResponseHandler<OutputT>
Type Parameters:
OutputT - Type of successful unmarshalled POJO.
All Implemented Interfaces:
HttpResponseHandler<Response<OutputT>>

public class AwsXmlPredicatedResponseHandler<OutputT> extends Object implements HttpResponseHandler<Response<OutputT>>
Unmarshalls an HTTP response into either a successful response POJO, or into a (possibly modeled) exception based on a predicate that the unmarshalled response can be tested against. Returns a wrapper Response object which may contain either the unmarshalled success POJO, or the unmarshalled exception.