|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValveContext
Context information during invoking valves in a pipeline. This holds the necessary objects to serve a request.
Method Summary | |
---|---|
HstContainerConfig |
getRequestContainerConfig()
Returns the HstComponent container configuration. |
HstRequestContext |
getRequestContext()
Returns the current request context. |
HstComponentWindow |
getRootComponentRenderingWindow()
Returns the root HstComponentWindow instance to *render* the current request. |
HstComponentWindow |
getRootComponentWindow()
Returns the root HstComponentWindow instance that is used to process the current request. |
javax.servlet.http.HttpServletRequest |
getServletRequest()
Returns the current servlet request. |
javax.servlet.http.HttpServletResponse |
getServletResponse()
Returns the current servlet response. |
void |
invokeNext()
Requests invocation of next possible valve. |
void |
setRootComponentRenderingWindow(HstComponentWindow rootComponentRenderingWindow)
Sets the root HstComponentWindow instance to *render* the current request |
void |
setRootComponentWindow(HstComponentWindow rootComponentWindow)
Sets the root HstComponentWindow instancethat is used to process the current request. |
Method Detail |
---|
void invokeNext() throws ContainerException
ContainerException
HstContainerConfig getRequestContainerConfig()
HstRequestContext getRequestContext()
javax.servlet.http.HttpServletRequest getServletRequest()
javax.servlet.http.HttpServletResponse getServletResponse()
void setRootComponentWindow(HstComponentWindow rootComponentWindow)
HstComponentWindow
instancethat is used to process the current request.
rootComponentWindow
- HstComponentWindow getRootComponentWindow()
HstComponentWindow
instance that is used to process the current request.
void setRootComponentRenderingWindow(HstComponentWindow rootComponentRenderingWindow)
HstComponentWindow
instance to *render* the current request
rootComponentRenderingWindow
- HstComponentWindow getRootComponentRenderingWindow()
Returns the root HstComponentWindow
instance to *render* the current request. By default, this
returns the same HstComponentWindow
as getRootComponentWindow()
, unless it is explicitly
set to a different HstComponentWindow
. For example in case when you want to render only a single (or subtree)
HstComponent
of an entire HstComponent
hierarchy.
The rootComponentRenderingWindow must always be a descendant of or the same as getRootComponentWindow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |