Class ComponentRenderingRequestHandler
- java.lang.Object
-
- org.apache.wicket.core.request.handler.ComponentRenderingRequestHandler
-
- All Implemented Interfaces:
IComponentRequestHandler,org.apache.wicket.request.IRequestHandler
public class ComponentRenderingRequestHandler extends java.lang.Object implements IComponentRequestHandler
Request handler that renders a component- Author:
- igor.vaynberg
-
-
Constructor Summary
Constructors Constructor Description ComponentRenderingRequestHandler(Component component)Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetach(org.apache.wicket.request.IRequestCycle requestCycle)IRequestableComponentgetComponent()Returns the component instance.java.lang.StringgetComponentPath()Returns the page relative path to the component instance.voidrespond(org.apache.wicket.request.IRequestCycle requestCycle)
-
-
-
Constructor Detail
-
ComponentRenderingRequestHandler
public ComponentRenderingRequestHandler(Component component)
Construct.- Parameters:
component- the component to render
-
-
Method Detail
-
getComponent
public IRequestableComponent getComponent()
Description copied from interface:IComponentRequestHandlerReturns the component instance.- Specified by:
getComponentin interfaceIComponentRequestHandler- Returns:
- component instance
-
detach
public void detach(org.apache.wicket.request.IRequestCycle requestCycle)
- Specified by:
detachin interfaceorg.apache.wicket.request.IRequestHandler
-
respond
public void respond(org.apache.wicket.request.IRequestCycle requestCycle)
- Specified by:
respondin interfaceorg.apache.wicket.request.IRequestHandler
-
getComponentPath
public final java.lang.String getComponentPath()
Description copied from interface:IComponentRequestHandlerReturns the page relative path to the component instance.- Specified by:
getComponentPathin interfaceIComponentRequestHandler- Returns:
- the page relative path to the component instance
-
-