|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - The Response type.public interface ConsulResponseCallback<T>
For API calls that support long-polling, this callback is used to handle the result on success or failure for an async HTTP call.
| Method Summary | |
|---|---|
void |
onComplete(ConsulResponse<T> consulResponse)
Callback for a successful ConsulResponse. |
void |
onFailure(java.lang.Throwable throwable)
Callback for an unsuccessful request. |
| Method Detail |
|---|
void onComplete(ConsulResponse<T> consulResponse)
ConsulResponse.
consulResponse - The Consul response.void onFailure(java.lang.Throwable throwable)
throwable - The exception thrown.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||