Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mortbay.j2ee.session
Class ThrottleInterceptor  view ThrottleInterceptor download ThrottleInterceptor.java

java.lang.Object
  extended byorg.mortbay.j2ee.session.StateInterceptor
      extended byorg.mortbay.j2ee.session.ThrottleInterceptor
All Implemented Interfaces:
java.lang.Cloneable, State

public class ThrottleInterceptor
extends StateInterceptor


Field Summary
(package private)  State _buffer
           
(package private)  boolean _dirty
           
(package private)  org.apache.log4j.Category _log
           
 
Fields inherited from class org.mortbay.j2ee.session.StateInterceptor
 
Constructor Summary
ThrottleInterceptor(Manager manager, javax.servlet.http.HttpSession session, State state)
           
 
Method Summary
 void flush()
           
(package private)  State getRealState()
           
protected  State getState()
           
 java.lang.Object removeAttribute(java.lang.String name, boolean returnValue)
           
 java.lang.Object setAttribute(java.lang.String name, java.lang.Object value, boolean returnValue)
           
 void setAttributes(java.util.Map attributes)
           
 void setLastAccessedTime(long time)
           
 void setMaxInactiveInterval(int interval)
           
 
Methods inherited from class org.mortbay.j2ee.session.StateInterceptor
clone, getActualMaxInactiveInterval, getAttribute, getAttributeNameEnumeration, getAttributeNameStringArray, getAttributes, getCreationTime, getId, getLastAccessedTime, getManager, getMaxInactiveInterval, getSession, isValid, setManager, setSession, setState, start, stop, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_log

org.apache.log4j.Category _log

_buffer

State _buffer

_dirty

boolean _dirty
Constructor Detail

ThrottleInterceptor

public ThrottleInterceptor(Manager manager,
                           javax.servlet.http.HttpSession session,
                           State state)
Method Detail

getRealState

State getRealState()

flush

public void flush()

getState

protected State getState()
Overrides:
getState in class StateInterceptor

setLastAccessedTime

public void setLastAccessedTime(long time)
Specified by:
setLastAccessedTime in interface State
Overrides:
setLastAccessedTime in class StateInterceptor

setMaxInactiveInterval

public void setMaxInactiveInterval(int interval)
Specified by:
setMaxInactiveInterval in interface State
Overrides:
setMaxInactiveInterval in class StateInterceptor

setAttribute

public java.lang.Object setAttribute(java.lang.String name,
                                     java.lang.Object value,
                                     boolean returnValue)
Specified by:
setAttribute in interface State
Overrides:
setAttribute in class StateInterceptor

removeAttribute

public java.lang.Object removeAttribute(java.lang.String name,
                                        boolean returnValue)
Specified by:
removeAttribute in interface State
Overrides:
removeAttribute in class StateInterceptor

setAttributes

public void setAttributes(java.util.Map attributes)
Specified by:
setAttributes in interface State
Overrides:
setAttributes in class StateInterceptor