org.apache.wicket.request.handler
Class EmptyAjaxRequestHandler

java.lang.Object
  extended by org.apache.wicket.request.handler.EmptyAjaxRequestHandler
All Implemented Interfaces:
IRequestHandler

public final class EmptyAjaxRequestHandler
extends java.lang.Object
implements IRequestHandler

The empty AJAX request target does output an empty AJAX response.

Author:
Matej Knopp

Method Summary
 void detach(IRequestCycle requestCycle)
          This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done.
 boolean equals(java.lang.Object obj)
           
static EmptyAjaxRequestHandler getInstance()
          Gets the singleton instance.
 int hashCode()
           
 void respond(IRequestCycle requestCycle)
          Generates a response.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static final EmptyAjaxRequestHandler getInstance()
Gets the singleton instance.

Returns:
the singleton instance

respond

public void respond(IRequestCycle requestCycle)
Generates a response.

Specified by:
respond in interface IRequestHandler
Parameters:
requestCycle - the current request cycle

detach

public void detach(IRequestCycle requestCycle)
This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done.

Specified by:
detach in interface IRequestHandler
Parameters:
requestCycle - the current request cycle

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.