T
- The return type of objects in the corresponding response.public interface Request<T>
Receiver
object,
specified by the to(Receiver)
method.FakeRequest
Modifier and Type | Method and Description |
---|---|
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.
|
void fire()
void fire(Receiver<? super T> receiver)
to(...).fire()
.receiver
- a Receiver
instanceRequestContext getRequestContext()
RequestContext to(Receiver<? super T> receiver)
receiver
- a Receiver
instanceRequestContext
instance