Class RestCallbackImpl<P,D,V extends EditorWithErrorHandling<P,D>,R,H extends HttpMessages>

java.lang.Object
de.knightsoftnet.gwtp.spring.client.rest.helper.AbstractRestCallback<P,D,V,R,H>
de.knightsoftnet.gwtp.spring.client.rest.helper.RestCallbackImpl<P,D,V,R,H>
Type Parameters:
P - presenter type
D - data type given to the server
V - view or widget which implements EditorWithErrorHandling interface
R - rest result type
H - http response message type
All Implemented Interfaces:
com.google.gwt.user.client.rpc.AsyncCallback<R>, com.gwtplatform.dispatch.rest.client.RestCallback<R>

public class RestCallbackImpl<P,D,V extends EditorWithErrorHandling<P,D>,R,H extends HttpMessages> extends AbstractRestCallback<P,D,V,R,H>
Async callback implementation with error handling.
Author:
Manfred Tremmel
  • Constructor Details

    • RestCallbackImpl

      public RestCallbackImpl(V view, D data, Session session, AsyncCallbackOnSuccess<R> callbackOnSuccess)
      constructor.
      Parameters:
      view - view
      data - date to handle
      session - session data
      callbackOnSuccess - async callback which is called on success
    • RestCallbackImpl

      public RestCallbackImpl(V view, D data, Session session, H httpMessage, AsyncCallbackOnSuccess<R> callbackOnSuccess)
      constructor.
      Parameters:
      view - view
      data - date to handle
      session - session data
      httpMessage - http message
      callbackOnSuccess - async callback which is called on success
  • Method Details