Package com.sun.enterprise.web
Class WebPipeline
- java.lang.Object
-
- org.apache.catalina.core.StandardPipeline
-
- com.sun.enterprise.web.WebPipeline
-
public class WebPipeline extends StandardPipeline
Pipeline whose invoke logic checks if a given request path represents an ad-hoc path: If so, this pipeline delegates the request to the ad-hoc pipeline of its associated web module. Otherwise, this pipeline processes the request.
-
-
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 WebPipeline(Container container)
creates an instance of WebPipeline
-
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
-
WebPipeline
public WebPipeline(Container container)
creates an instance of WebPipeline- Parameters:
container
-
-
-
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. If the request path to process identifies an ad-hoc path, the web module's ad-hoc pipeline is invoked.- 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
-
-