Package com.sun.enterprise.web
Class VirtualServerPipeline
- java.lang.Object
-
- org.apache.catalina.core.StandardPipeline
-
- com.sun.enterprise.web.VirtualServerPipeline
-
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.
-
-
Field Summary
-
Fields inherited from class org.apache.catalina.core.StandardPipeline
basic, container, info, lifecycle, started, valves
-
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, INIT_EVENT, START_EVENT, STOP_EVENT
-
-
Constructor Summary
Constructors Constructor Description VirtualServerPipeline(VirtualServer vs)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invoke(Request request, Response response)
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.-
Methods inherited from class org.apache.catalina.core.StandardPipeline
addLifecycleListener, addValve, addValve, doChainInvoke, findLifecycleListeners, getBasic, getContainer, getInfo, getValveObjectNames, getValves, hasNonBasicValves, log, log, removeLifecycleListener, removeValve, setBasic, setContainer, start, stop
-
-
-
-
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 interfacePipeline
- Overrides:
invoke
in classStandardPipeline
- Parameters:
request
- The request to processresponse
- The response to return- Throws:
IOException
- if an input/output error occursjakarta.servlet.ServletException
- if a servlet exception is thrown
-
-