org.fusesource.restygwt.client.dispatcher
Class DefaultDispatcher
java.lang.Object
org.fusesource.restygwt.client.dispatcher.DefaultDispatcher
- All Implemented Interfaces:
- Dispatcher
public class DefaultDispatcher
- extends Object
- implements Dispatcher
Some valuable ideas came from:
http://turbomanage.wordpress.com/2010/07/12/caching
-batching-dispatcher-for-gwt-dispatch/
Thanks David!
Especially: - Waiting if a particular request is already on the way
(otherwise you end up having many requests on the same source.
- Author:
- rEyez, Hiram Chirino
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DefaultDispatcher INSTANCE
DefaultDispatcher
public DefaultDispatcher()
send
public Request send(Method method,
RequestBuilder builder)
throws RequestException
- Specified by:
send in interface Dispatcher
- Throws:
RequestException
Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.