org.restlet.gwt
Class Callback
java.lang.Object
org.restlet.gwt.Callback
public abstract class Callback
- extends Object
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.
- Author:
- Jerome Louvel
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 |
Callback
public Callback()
onEvent
public abstract void onEvent(Request request,
Response response)
- This method is called in all cases, even if a communication error occurs.
When it is invoked the Response instante will have been updated.
- Parameters:
request
- The request processed.response
- The updated response.
Copyright © 2005-2008 Noelios Technologies.