com.google.gwt.requestfactory.shared
Class RequestEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<RequestEvent.Handler>
      extended by com.google.gwt.requestfactory.shared.RequestEvent

public class RequestEvent
extends GwtEvent<RequestEvent.Handler>

Experimental API: This class is still under rapid development, and is very likely to be deleted. Use it at your own risk.

An event posted whenever an RPC request is sent or its response is received.


Nested Class Summary
static interface RequestEvent.Handler
          Implemented by handlers of this type of event.
static class RequestEvent.State
          The request state.
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Field Summary
static GwtEvent.Type<RequestEvent.Handler> TYPE
           
 
Constructor Summary
RequestEvent(RequestEvent.State state)
           
 
Method Summary
 GwtEvent.Type<RequestEvent.Handler> getAssociatedType()
          Returns the type used to register this event.
 RequestEvent.State getState()
           
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
getSource, toDebugString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final GwtEvent.Type<RequestEvent.Handler> TYPE
Constructor Detail

RequestEvent

public RequestEvent(RequestEvent.State state)
Method Detail

getAssociatedType

public GwtEvent.Type<RequestEvent.Handler> getAssociatedType()
Description copied from class: GwtEvent
Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.

Specified by:
getAssociatedType in class GwtEvent<RequestEvent.Handler>
Returns:
the type

getState

public RequestEvent.State getState()