com.sun.enterprise.web
Class VirtualServerPipeline

java.lang.Object
  extended by org.apache.catalina.core.StandardPipeline
      extended by com.sun.enterprise.web.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.


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
VirtualServerPipeline(VirtualServer vs)
          Constructor.
 
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

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 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.

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.