public abstract class FailureShownRestCallback<T>
extends com.github.nmorel.gwtjackson.rest.api.RestCallback<T>
| Constructor and Description |
|---|
FailureShownRestCallback() |
| Modifier and Type | Method and Description |
|---|---|
FailureShownRestCallback<T> |
onError(Consumer<com.google.gwt.http.client.Response> onError) |
void |
onError(com.google.gwt.http.client.Response response) |
FailureShownRestCallback<T> |
onFailure(Consumer<Throwable> onFailure) |
void |
onFailure(Throwable throwable) |
static <T> FailureShownRestCallback<T> |
onSuccess(Consumer<T> onSuccess) |
public void onError(com.google.gwt.http.client.Response response)
onError in class com.github.nmorel.gwtjackson.rest.api.RestCallback<T>public void onFailure(Throwable throwable)
public FailureShownRestCallback<T> onError(Consumer<com.google.gwt.http.client.Response> onError)
public FailureShownRestCallback<T> onFailure(Consumer<Throwable> onFailure)
public static <T> FailureShownRestCallback<T> onSuccess(Consumer<T> onSuccess)
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.