P - presenter typeD - data type given to the serverV - view or widget which implements EditorWithErrorHandling interfaceR - rest result typeH - http response message typepublic class RestCallbackImpl<P,D,V extends EditorWithErrorHandling<P,D>,R,H extends HttpMessages> extends AbstractRestCallback<P,D,V,R,H>
data, session, view| Constructor and Description |
|---|
RestCallbackImpl(V pview,
D pdata,
Session psession,
AsyncCallbackOnSuccess<R> pcallbackOnSuccess)
constructor.
|
RestCallbackImpl(V pview,
D pdata,
Session psession,
H phttpMessage,
AsyncCallbackOnSuccess<R> pcallbackOnSuccess)
constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onSuccess(R presult) |
onFailure, setResponsepublic RestCallbackImpl(V pview, D pdata, Session psession, AsyncCallbackOnSuccess<R> pcallbackOnSuccess)
pview - viewpdata - date to handlepsession - session datapcallbackOnSuccess - async callback which is called on successpublic RestCallbackImpl(V pview, D pdata, Session psession, H phttpMessage, AsyncCallbackOnSuccess<R> pcallbackOnSuccess)
pview - viewpdata - date to handlepsession - session dataphttpMessage - http messagepcallbackOnSuccess - async callback which is called on successpublic void onSuccess(R presult)
onSuccess in interface com.google.gwt.user.client.rpc.AsyncCallback<R>onSuccess in class AbstractRestCallback<P,D,V extends EditorWithErrorHandling<P,D>,R,H extends HttpMessages>Copyright © 2015–2018. All rights reserved.