public class HttpFailureStatusAcceptor<OutputT> extends WaiterAcceptor<OutputT>
Constructor | Description |
---|---|
HttpFailureStatusAcceptor(int expectedStatusCode,
WaiterState waiterState) |
Modifier and Type | Method | 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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
matches
public HttpFailureStatusAcceptor(int expectedStatusCode, WaiterState waiterState)
public boolean matches(AmazonServiceException ase)
WaiterAcceptor
matches
in class WaiterAcceptor<OutputT>
ase
- Exception thrown by the execution of the operationpublic WaiterState getState()
WaiterAcceptor
getState
in class WaiterAcceptor<OutputT>
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.