Class ComponentRenderingRequestHandler
java.lang.Object
org.apache.wicket.core.request.handler.ComponentRenderingRequestHandler
- All Implemented Interfaces:
IComponentRequestHandler
,IRequestHandler
Request handler that renders a component
- Author:
- igor.vaynberg
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
detach
(IRequestCycle requestCycle) Returns the component instance.final String
Returns the page relative path to the component instance.void
respond
(IRequestCycle requestCycle)
-
Constructor Details
-
ComponentRenderingRequestHandler
Construct.- Parameters:
component
- the component to render
-
-
Method Details
-
getComponent
Description copied from interface:IComponentRequestHandler
Returns the component instance.- Specified by:
getComponent
in interfaceIComponentRequestHandler
- Returns:
- component instance
-
detach
- Specified by:
detach
in interfaceIRequestHandler
-
respond
- Specified by:
respond
in interfaceIRequestHandler
-
getComponentPath
Description copied from interface:IComponentRequestHandler
Returns the page relative path to the component instance.- Specified by:
getComponentPath
in interfaceIComponentRequestHandler
- Returns:
- the page relative path to the component instance
-