GWT 2.1.0

com.google.gwt.requestfactory.shared
Interface Request<T>

Type Parameters:
T - The return type of objects in the corresponding response.

public interface Request<T>

Implemented by the request objects created by this factory.


Method Summary
 void fire()
          Submit this request.
 void fire(Receiver<? super T> receiver)
          Convenience method equivalent to calling to(...).fire().
 RequestContext to(Receiver<? super T> receiver)
          Specify the object that will receive the result of the method invocation.
 Request<T> with(java.lang.String... propertyRefs)
          Request additional reference properties to fetch with the return value.
 

Method Detail

fire

void fire()
Submit this request. Failures will be reported through the global uncaught exception handler, if any.


fire

void fire(Receiver<? super T> receiver)
Convenience method equivalent to calling to(...).fire().


to

RequestContext to(Receiver<? super T> receiver)
Specify the object that will receive the result of the method invocation.


with

Request<T> with(java.lang.String... propertyRefs)
Request additional reference properties to fetch with the return value.


GWT 2.1.0