org.glassfish.web.ha.session.management
Class HASessionStoreValve

java.lang.Object
  extended by org.apache.catalina.valves.ValveBase
      extended by org.glassfish.web.ha.session.management.HASessionStoreValve
All Implemented Interfaces:
javax.management.MBeanRegistration, Contained, Lifecycle, Valve, GlassFishValve

public class HASessionStoreValve
extends ValveBase

Author:
lwhite, Rajiv Mordani

Field Summary
 
Fields inherited from class org.apache.catalina.valves.ValveBase
container, controller, debug, domain, info, lifecycle, mserver, next, oname, sm, started
 
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
 
Fields inherited from interface org.glassfish.web.valve.GlassFishValve
END_PIPELINE, INVOKE_NEXT
 
Constructor Summary
HASessionStoreValve()
          Creates a new instance of HASessionStoreValve
 
Method Summary
 int invoke(Request request, Response response)
          invoke call-back; nothing to do on the way in
 void postInvoke(Request request, Response response)
          A post-request processing implementation that does the valveSave.
 
Methods inherited from class org.apache.catalina.valves.ValveBase
addLifecycleListener, backgroundProcess, createObjectName, event, findLifecycleListeners, getContainer, getContainerName, getController, getDebug, getDomain, getInfo, getNext, getObjectName, getParentName, invoke, isStarted, postDeregister, postRegister, preDeregister, preRegister, removeLifecycleListener, setContainer, setController, setDebug, setNext, setObjectName, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HASessionStoreValve

public HASessionStoreValve()
Creates a new instance of HASessionStoreValve

Method Detail

invoke

public int invoke(Request request,
                  Response response)
           throws java.io.IOException,
                  javax.servlet.ServletException
invoke call-back; nothing to do on the way in

Specified by:
invoke in interface GlassFishValve
Specified by:
invoke in class ValveBase
Parameters:
request -
response -
Throws:
java.io.IOException
javax.servlet.ServletException

postInvoke

public void postInvoke(Request request,
                       Response response)
                throws java.io.IOException,
                       javax.servlet.ServletException
A post-request processing implementation that does the valveSave.

Specified by:
postInvoke in interface GlassFishValve
Overrides:
postInvoke in class ValveBase
Parameters:
request -
response -
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2012 GlassFish Community. All Rights Reserved.