|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HstComponentInvoker
HstComponent invoker component. The HstComponent container invokes HstComponents via this invoker.
Method Summary | |
---|---|
void |
invokeAction(HstContainerConfig requestContainerConfig,
javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
Invokes the HstComponent.doAction(org.hippoecm.hst.core.component.HstRequest, HstResponse) method. |
void |
invokeBeforeRender(HstContainerConfig requestContainerConfig,
javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
Invokes the HstComponent.doBeforeRender(org.hippoecm.hst.core.component.HstRequest, HstResponse) method. |
void |
invokeBeforeServeResource(HstContainerConfig requestContainerConfig,
javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
Invokes the HstComponent.doBeforeServeResource(org.hippoecm.hst.core.component.HstRequest, HstResponse) method. |
void |
invokeRender(HstContainerConfig requestContainerConfig,
javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
Dispatches to the renderpath of the HstComponent . |
void |
invokeServeResource(HstContainerConfig requestContainerConfig,
javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
Dispatches to the serveresourcepath of the HstComponent . |
Method Detail |
---|
void invokeAction(HstContainerConfig requestContainerConfig, javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws ContainerException
HstComponent.doAction(org.hippoecm.hst.core.component.HstRequest, HstResponse)
method.
requestContainerConfig
- the HstComponent container configurationservletRequest
- the requestservletResponse
- the response
ContainerException
void invokeBeforeRender(HstContainerConfig requestContainerConfig, javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws ContainerException
HstComponent.doBeforeRender(org.hippoecm.hst.core.component.HstRequest, HstResponse)
method.
requestContainerConfig
- the HstComponent container configurationservletRequest
- the requestservletResponse
- the response
ContainerException
void invokeRender(HstContainerConfig requestContainerConfig, javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws ContainerException
renderpath
of the HstComponent
.
If the component sets renderpath
dynamically in its
HstComponent.doBeforeRender(org.hippoecm.hst.core.component.HstRequest, HstResponse)
method
by invoking HstResponse.setRenderPath(String)
, then
the HstComponentInvoker will dispatch to the renderpath
which is set by the method.
Otherwise, it retrieves the renderpath
from the component configuration to try dispatching.
requestContainerConfig
- the HstComponent container configurationservletRequest
- the requestservletResponse
- the response
ContainerException
void invokeBeforeServeResource(HstContainerConfig requestContainerConfig, javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws ContainerException
HstComponent.doBeforeServeResource(org.hippoecm.hst.core.component.HstRequest, HstResponse)
method.
requestContainerConfig
- the HstComponent container configurationservletRequest
- the requestservletResponse
- the response
ContainerException
void invokeServeResource(HstContainerConfig requestContainerConfig, javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws ContainerException
serveresourcepath
of the HstComponent
.
If the component sets serveresourcepath
dynamically in its
HstComponent.doBeforeServeResource(org.hippoecm.hst.core.component.HstRequest, HstResponse)
method
by invoking HstResponse.setServeResourcePath(String)
, then
the HstComponentInvoker will dispatch to the serveresourcepath
which is set by the method.
Otherwise, it retrieves the serveresourcepath
from the component configuration to try dispatching.
If it cannot find the configuration in the component configuration, then
it will try dispatching to the renderpath
instead.
requestContainerConfig
- the HstComponent container configurationservletRequest
- the requestservletResponse
- the response
ContainerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |