|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The return type of objects in the corresponding response.public interface Request<T>
A Request represents a single method invocation on the server. It
encapsulates the arguments provided to the Request factory method declared in
a RequestContext as well as a set of object paths to return from the server.
The returned data is provided to an optional Receiver
object,
specified by the to(Receiver)
method.
FakeRequest
Method Summary | |
---|---|
void |
fire()
Submit this request. |
void |
fire(Receiver<? super T> receiver)
Convenience method equivalent to calling to(...).fire() . |
RequestContext |
getRequestContext()
Returns the RequestContext associated with the Request. |
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 |
---|
void fire()
void fire(Receiver<? super T> receiver)
to(...).fire()
.
receiver
- a Receiver
instanceRequestContext getRequestContext()
RequestContext to(Receiver<? super T> receiver)
receiver
- a Receiver
instance
RequestContext
instanceRequest<T> with(java.lang.String... propertyRefs)
propertyRefs
- a list of reference property names as Strings
Request
instance of type T
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |