public class HttpSuccessStatusAcceptor<Output> extends WaiterAcceptor<Output>
| Constructor and Description |
|---|
HttpSuccessStatusAcceptor(WaiterState waiterState) |
| Modifier and Type | Method and Description |
|---|---|
WaiterState |
getState()
Abstract method to fetch the corresponding state
|
boolean |
matches(Output output)
Default method definition that matches the response
state with the expected state defined by the acceptor.
|
matchespublic HttpSuccessStatusAcceptor(WaiterState waiterState)
public boolean matches(Output output)
WaiterAcceptormatches in class WaiterAcceptor<Output>output - Response got by the execution of the operationpublic WaiterState getState()
WaiterAcceptorgetState in class WaiterAcceptor<Output>