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.
|
matches
public HttpSuccessStatusAcceptor(WaiterState waiterState)
public boolean matches(Output output)
WaiterAcceptor
matches
in class WaiterAcceptor<Output>
output
- Response got by the execution of the operationpublic WaiterState getState()
WaiterAcceptor
getState
in class WaiterAcceptor<Output>
Copyright © 2023. All rights reserved.