T - The Response type.public interface ConsulResponseCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(ConsulResponse<T> consulResponse)
Callback for a successful
ConsulResponse. |
void |
onFailure(Throwable throwable)
Callback for an unsuccessful request.
|
void onComplete(ConsulResponse<T> consulResponse)
ConsulResponse.consulResponse - The Consul response.void onFailure(Throwable throwable)
throwable - The exception thrown.Copyright © 2018. All rights reserved.