Module org.apache.wicket.core
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) 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.Returns the component instance.final String
Returns the page relative path to the component instance.void
respond
(IRequestCycle requestCycle) Generates a response.
-
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
Description copied from interface:IRequestHandler
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 interfaceIRequestHandler
- Parameters:
requestCycle
- the current request cycle
-
respond
Description copied from interface:IRequestHandler
Generates a response.- Specified by:
respond
in interfaceIRequestHandler
- Parameters:
requestCycle
- the current request cycle
-
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
-