Package org.hippoecm.hst.core.container
Interface Pipeline
public interface Pipeline
Pipeline interface.
HstRequestProcessor
will invoke the proper Pipeline
instance to serve the request.- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup
(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse) Does post-processing step for the request processing.void
destroy()
Destroys the pipeline.void
Initializes the pipelinevoid
invoke
(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse) Invokes the request processing, aka the initialization and rendering valves
-
Method Details
-
initialize
Initializes the pipeline- Throws:
ContainerException
-
invoke
void invoke(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse) throws ContainerException Invokes the request processing, aka the initialization and rendering valves- Parameters:
requestContainerConfig
- the HstComponent container configurationrequestContext
-servletRequest
-servletResponse
-- Throws:
ContainerException
-
cleanup
void cleanup(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse) throws ContainerException Does post-processing step for the request processing.- Parameters:
requestContainerConfig
- the HstComponent container configurationrequestContext
-servletRequest
-servletResponse
-- Throws:
ContainerException
-
destroy
Destroys the pipeline.- Throws:
ContainerException
-