org.codehaus.wadi.jetty5
Class JettyManager
java.lang.Object
org.codehaus.wadi.jetty5.JettyManager
- All Implemented Interfaces:
- LifeCycle, org.codehaus.wadi.ManagerConfig, Serializable, SessionManager
- public class JettyManager
- extends Object
- implements org.codehaus.wadi.ManagerConfig, SessionManager
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log
protected final Log _log
_listeners
protected final org.codehaus.wadi.impl.ListenerSupport _listeners
_wadi
protected org.codehaus.wadi.impl.StandardManager _wadi
_handler
protected ServletHandler _handler
_secureCookies
protected boolean _secureCookies
_httpOnly
protected boolean _httpOnly
_useRequestedId
protected boolean _useRequestedId
JettyManager
public JettyManager()
getServletContext
public ServletContext getServletContext()
- Specified by:
getServletContext
in interface org.codehaus.wadi.ManagerConfig
callback
public void callback(org.codehaus.wadi.impl.StandardManager manager)
- Specified by:
callback
in interface org.codehaus.wadi.ManagerConfig
initialize
public void initialize(ServletHandler handler)
- Specified by:
initialize
in interface SessionManager
getHttpSession
public HttpSession getHttpSession(String id)
- Specified by:
getHttpSession
in interface SessionManager
newHttpSession
public HttpSession newHttpSession(HttpServletRequest request)
- Specified by:
newHttpSession
in interface SessionManager
getSecureCookies
public boolean getSecureCookies()
- Specified by:
getSecureCookies
in interface SessionManager
getHttpOnly
public boolean getHttpOnly()
- Specified by:
getHttpOnly
in interface SessionManager
getMaxInactiveInterval
public int getMaxInactiveInterval()
- Specified by:
getMaxInactiveInterval
in interface SessionManager
setMaxInactiveInterval
public void setMaxInactiveInterval(int seconds)
- Specified by:
setMaxInactiveInterval
in interface SessionManager
addEventListener
public void addEventListener(EventListener listener)
throws IllegalArgumentException
- Specified by:
addEventListener
in interface SessionManager
- Throws:
IllegalArgumentException
removeEventListener
public void removeEventListener(EventListener listener)
- Specified by:
removeEventListener
in interface SessionManager
getSessionCookie
public Cookie getSessionCookie(HttpSession session,
boolean requestIsSecure)
- Specified by:
getSessionCookie
in interface SessionManager
start
public void start()
throws Exception
- Specified by:
start
in interface LifeCycle
- Throws:
Exception
stop
public void stop()
throws InterruptedException
- Specified by:
stop
in interface LifeCycle
- Throws:
InterruptedException
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interface LifeCycle
getUseRequestedId
protected boolean getUseRequestedId()
Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.