ActionListener<Response>
public abstract class NotifyOnceListener<Response> extends java.lang.Object implements ActionListener<Response>
Constructor | Description |
---|---|
NotifyOnceListener() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract void |
innerOnFailure(java.lang.Exception e) |
|
protected abstract void |
innerOnResponse(Response response) |
|
void |
onFailure(java.lang.Exception e) |
A failure caused by an exception at some phase of the task.
|
void |
onResponse(Response response) |
Handle action response.
|
onFailure, onResponse, toBiConsumer, wrap, wrap
protected abstract void innerOnResponse(Response response)
protected abstract void innerOnFailure(java.lang.Exception e)
public final void onResponse(Response response)
ActionListener
onResponse
in interface ActionListener<Response>
public final void onFailure(java.lang.Exception e)
ActionListener
onFailure
in interface ActionListener<Response>