Class VirtualServerPipeline

  • All Implemented Interfaces:
    Contained, Lifecycle, Pipeline

    public class VirtualServerPipeline
    extends StandardPipeline
    Pipeline associated with a virtual server. This pipeline inherits the state (off/disabled) of its associated virtual server, and will abort execution and return an appropriate response error code if its associated virtual server is off or disabled.
    • Constructor Detail

      • VirtualServerPipeline

        public VirtualServerPipeline​(VirtualServer vs)
        Constructor.
        Parameters:
        vs - Virtual server with which this VirtualServerPipeline is being associated
    • Method Detail

      • invoke

        public void invoke​(Request request,
                           Response response)
                    throws IOException,
                           jakarta.servlet.ServletException
        Processes the specified request, and produces the appropriate response, by invoking the first valve (if any) of this pipeline, or the pipeline's basic valve.
        Specified by:
        invoke in interface Pipeline
        Overrides:
        invoke in class StandardPipeline
        Parameters:
        request - The request to process
        response - The response to return
        Throws:
        IOException - if an input/output error occurs
        jakarta.servlet.ServletException - if a servlet exception is thrown