com.sun.enterprise.web
Class WebPipeline

java.lang.Object
  extended by org.apache.catalina.core.StandardPipeline
      extended by com.sun.enterprise.web.WebPipeline
All Implemented Interfaces:
Contained, Lifecycle, Pipeline

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, debug, info, lifecycle, sm, 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
WebPipeline(Container container)
          creates an instance of WebPipeline
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 java.io.IOException,
                   javax.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 interface Pipeline
Overrides:
invoke in class StandardPipeline
Parameters:
request - The request to process
response - The response to return
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2012 GlassFish Community. All Rights Reserved.