org.apache.tomee.catalina.routing
Class RouterValve

java.lang.Object
  extended by org.apache.catalina.util.LifecycleBase
      extended by org.apache.catalina.util.LifecycleMBeanBase
          extended by org.apache.catalina.valves.ValveBase
              extended by org.apache.tomee.catalina.routing.RouterValve
All Implemented Interfaces:
MBeanRegistration, org.apache.catalina.Contained, org.apache.catalina.Lifecycle, org.apache.catalina.Valve

public class RouterValve
extends org.apache.catalina.valves.ValveBase


Field Summary
static String ROUTER_CONF
           
static String WEB_INF
           
 
Fields inherited from class org.apache.catalina.valves.ValveBase
asyncSupported, container, containerLog, info, next, sm
 
Fields inherited from class org.apache.catalina.util.LifecycleMBeanBase
mserver
 
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT
 
Constructor Summary
RouterValve()
           
 
Method Summary
static URL configurationURL(javax.servlet.ServletContext ctx)
           
 void invoke(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response)
           
static String routerConfigurationName()
           
static URL serverRouterConfigurationURL()
           
 void setConfigurationPath(URL configurationPath)
           
 void setPrefix(String name)
           
protected  void startInternal()
           
protected  void stopInternal()
           
 
Methods inherited from class org.apache.catalina.valves.ValveBase
backgroundProcess, event, getContainer, getDomainInternal, getInfo, getNext, getObjectNameKeyProperties, initInternal, isAsyncSupported, setAsyncSupported, setContainer, setNext, toString
 
Methods inherited from class org.apache.catalina.util.LifecycleMBeanBase
destroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister
 
Methods inherited from class org.apache.catalina.util.LifecycleBase
addLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, init, removeLifecycleListener, setState, setState, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ROUTER_CONF

public static final String ROUTER_CONF
See Also:
Constant Field Values

WEB_INF

public static final String WEB_INF
See Also:
Constant Field Values
Constructor Detail

RouterValve

public RouterValve()
Method Detail

invoke

public void invoke(org.apache.catalina.connector.Request request,
                   org.apache.catalina.connector.Response response)
            throws IOException,
                   javax.servlet.ServletException
Specified by:
invoke in interface org.apache.catalina.Valve
Specified by:
invoke in class org.apache.catalina.valves.ValveBase
Throws:
IOException
javax.servlet.ServletException

setConfigurationPath

public void setConfigurationPath(URL configurationPath)

startInternal

protected void startInternal()
                      throws org.apache.catalina.LifecycleException
Overrides:
startInternal in class org.apache.catalina.valves.ValveBase
Throws:
org.apache.catalina.LifecycleException

stopInternal

protected void stopInternal()
                     throws org.apache.catalina.LifecycleException
Overrides:
stopInternal in class org.apache.catalina.valves.ValveBase
Throws:
org.apache.catalina.LifecycleException

configurationURL

public static URL configurationURL(javax.servlet.ServletContext ctx)

routerConfigurationName

public static String routerConfigurationName()

serverRouterConfigurationURL

public static URL serverRouterConfigurationURL()

setPrefix

public void setPrefix(String name)


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.