public class HttpFailureStatusAcceptor<Output> extends WaiterAcceptor<Output>
| Constructor and Description | 
|---|
HttpFailureStatusAcceptor(int expectedStatusCode,
                         WaiterState waiterState)  | 
| Modifier and Type | Method and Description | 
|---|---|
WaiterState | 
getState()
Abstract method to fetch the corresponding state 
 | 
boolean | 
matches(AmazonServiceException ase)
Default method definition that matches the exception
 with the expected state defined by the acceptor. 
 | 
matchespublic HttpFailureStatusAcceptor(int expectedStatusCode,
                                 WaiterState waiterState)
public boolean matches(AmazonServiceException ase)
WaiterAcceptormatches in class WaiterAcceptor<Output>ase - Exception thrown by the execution of the operationpublic WaiterState getState()
WaiterAcceptorgetState in class WaiterAcceptor<Output>Copyright © 2019. All rights reserved.