org.apache.wicket.request.target.resource
Class ComponentResourceRequestTarget

java.lang.Object
  extended by org.apache.wicket.request.target.resource.ComponentResourceRequestTarget
All Implemented Interfaces:
IRequestTarget

public final class ComponentResourceRequestTarget
extends java.lang.Object
implements IRequestTarget

An implementation of IRequestTarget that is used for the IResourceListener event request.

Author:
jcompagner

Constructor Summary
ComponentResourceRequestTarget(Page page, Component component, RequestListenerInterface listener)
          Construct.
 
Method Summary
 void detach(RequestCycle 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)
           
 int hashCode()
           
 void respond(RequestCycle requestCycle)
          Generates a response.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentResourceRequestTarget

public ComponentResourceRequestTarget(Page page,
                                      Component component,
                                      RequestListenerInterface listener)
Construct.

Parameters:
page -
component -
listener -
Method Detail

respond

public void respond(RequestCycle requestCycle)
Description copied from interface: IRequestTarget
Generates a response.

Specified by:
respond in interface IRequestTarget
Parameters:
requestCycle - the current request cycle
See Also:
IRequestTarget.respond(org.apache.wicket.RequestCycle)

detach

public void detach(RequestCycle requestCycle)
Description copied from interface: IRequestTarget
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 IRequestTarget
Parameters:
requestCycle - the current request cycle
See Also:
IRequestTarget.detach(org.apache.wicket.RequestCycle)

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 © 2004-2010 Apache Software Foundation. All Rights Reserved.