org.apache.wicket.core.request.handler
Class ComponentRenderingRequestHandler

java.lang.Object
  extended by org.apache.wicket.core.request.handler.ComponentRenderingRequestHandler
All Implemented Interfaces:
IComponentRequestHandler, IRequestHandler

public class ComponentRenderingRequestHandler
extends Object
implements IComponentRequestHandler

Request handler that renders a component

Author:
igor.vaynberg

Constructor Summary
ComponentRenderingRequestHandler(Component component)
          Construct.
 
Method Summary
 void detach(IRequestCycle requestCycle)
           
 IRequestableComponent getComponent()
          Returns the component instance.
 String getComponentPath()
          Returns the page relative path to the component instance.
 void respond(IRequestCycle requestCycle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentRenderingRequestHandler

public ComponentRenderingRequestHandler(Component component)
Construct.

Parameters:
component -
Method Detail

getComponent

public IRequestableComponent getComponent()
Description copied from interface: IComponentRequestHandler
Returns the component instance.

Specified by:
getComponent in interface IComponentRequestHandler
Returns:
component instance

detach

public void detach(IRequestCycle requestCycle)
Specified by:
detach in interface IRequestHandler

respond

public void respond(IRequestCycle requestCycle)
Specified by:
respond in interface IRequestHandler

getComponentPath

public final String getComponentPath()
Description copied from interface: IComponentRequestHandler
Returns the page relative path to the component instance.

Specified by:
getComponentPath in interface IComponentRequestHandler
Returns:
the page relative path to the component instance


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