public static <P, D, V extends EditorWithErrorHandling<P, D>, R, //
      H extends HttpMessages> RestCallbackImpl<P, D, V, R, H> build(final V pview, final D pdata,
          final Session psession, final AsyncCallbackOnSuccess<R> pcallbackOnSuccess) {
    return new RestCallbackImpl<>(pview, pdata, psession, pcallbackOnSuccess);
  }
public static < P , D , V extends EditorWithErrorHandling < P , D > , R , H extends HttpMessages > RestCallbackImpl < P , D , V , R , H > build ( final V pview , final D pdata , final Session psession , final AsyncCallbackOnSuccess < R > pcallbackOnSuccess ) { return new RestCallbackImpl < > ( pview , pdata , psession , pcallbackOnSuccess ) ; }
create rest callback implementation.

@param pview view of the
@param pdata data given from server
@param psession session
@param pcallbackOnSuccess on success callback
@param <P> presenter type
@param <D> data type given to the server
@param <V> view or widget which implements EditorWithErrorHandling interface
@param <R> rest result type
@param <H> http messages
@return RestCallbackImpl