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 pview, D pdata, Session psession, AsyncCallbackOnSuccess<R> pcallbackOnSuccess)
      constructor.
      Parameters:
      pview - view
      pdata - date to handle
      psession - session data
      pcallbackOnSuccess - async callback which is called on success
    • RestCallbackImpl

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