Interface Pipeline


public interface Pipeline
Pipeline interface. HstRequestProcessor will invoke the proper Pipeline instance to serve the request.
Version:
$Id$
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cleanup(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse)
    Does post-processing step for the request processing.
    void
    Destroys the pipeline.
    void
    Initializes the pipeline
    void
    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

      void initialize() throws ContainerException
      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 configuration
      requestContext -
      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 configuration
      requestContext -
      servletRequest -
      servletResponse -
      Throws:
      ContainerException
    • destroy

      void destroy() throws ContainerException
      Destroys the pipeline.
      Throws:
      ContainerException