|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.gwt.Callback
public abstract class Callback
Callback associated to the uniform interface. This abstract class is typically subclassed and instantiated by the user applications. It contains a single method called by the Restlet-GWT library when a request has been processed.
Constructor Summary | |
---|---|
Callback()
|
Method Summary | |
---|---|
abstract void |
onEvent(Request request,
Response response)
This method is called in all cases, even if a communication error occurs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Callback()
Method Detail |
---|
public abstract void onEvent(Request request, Response response)
request
- The request processed.response
- The updated response.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |