|
GWT 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.requestfactory.shared.Receiver<V>
V - value typepublic abstract class Receiver<V>
Implemented by objects that display values.
| Constructor Summary | |
|---|---|
Receiver()
|
|
| Method Summary | |
|---|---|
void |
onFailure(ServerFailure error)
Receives general failure notifications. |
abstract void |
onSuccess(V response)
Called when a Request has been successfully executed on the server. |
void |
onViolation(java.util.Set<Violation> errors)
Called if an object sent to the server could not be validated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Receiver()
| Method Detail |
|---|
public void onFailure(ServerFailure error)
public abstract void onSuccess(V response)
public void onViolation(java.util.Set<Violation> errors)
onFailure(ServerFailure) if errors
is not empty.
|
GWT 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||