public class ComponentRenderingRequestHandler extends Object implements IComponentRequestHandler
Constructor and Description |
---|
ComponentRenderingRequestHandler(Component component)
Construct.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
IRequestableComponent |
getComponent()
Returns the component instance.
|
String |
getComponentPath()
Returns the page relative path to the component instance.
|
void |
respond(IRequestCycle requestCycle)
Generates a response.
|
public ComponentRenderingRequestHandler(Component component)
component
- the component to renderpublic IRequestableComponent getComponent()
IComponentRequestHandler
getComponent
in interface IComponentRequestHandler
public void detach(IRequestCycle requestCycle)
IRequestHandler
detach
in interface IRequestHandler
requestCycle
- the current request cyclepublic void respond(IRequestCycle requestCycle)
IRequestHandler
respond
in interface IRequestHandler
requestCycle
- the current request cyclepublic final String getComponentPath()
IComponentRequestHandler
getComponentPath
in interface IComponentRequestHandler
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.