Java Doc for HashSessionManager.java in » Sevlet-Container » jetty-modules » org » mortbay » jetty » servlet » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
Sevlet Container
»
jetty modules
»
org.mortbay.jetty.servlet
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.mortbay.jetty.servlet
.AbstractSessionManager
org.mortbay.jetty.servlet
.HashSessionManager
HashSessionManager
public
class HashSessionManager extends
AbstractSessionManager
(Code)
An in-memory implementation of SessionManager.
author:
Greg Wilkins (gregw)
Inner Class :
protected
class Session extends
AbstractSessionManager.Session
Inner Class :class SessionScavenger implements
Runnable
Field Summary
protected
Map
_sessions
Constructor Summary
public
HashSessionManager
()
Method Summary
protected
void
addSession
(
AbstractSessionManager.Session
session)
public
void
doStart
()
public
void
doStop
()
public
int
getScavengePeriod
()
protected
AbstractSessionManager.Session
getSession
(
String
idInCluster)
public
Map
getSessionMap
()
public
int
getSessions
()
protected
void
invalidateSessions
()
protected
AbstractSessionManager.Session
newSession
(
HttpServletRequest
request)
protected
void
removeSession
(
String
idInCluster)
public
void
setMaxInactiveInterval
(int seconds)
public
void
setScavengePeriod
(int seconds)
Field Detail
_sessions
protected
Map
_sessions
(Code)
Constructor Detail
HashSessionManager
public
HashSessionManager()
(Code)
Method Detail
addSession
protected
void addSession(
AbstractSessionManager.Session
session)
(Code)
doStart
public
void doStart() throws
Exception
(Code)
doStop
public
void doStop() throws
Exception
(Code)
getScavengePeriod
public
int getScavengePeriod()
(Code)
seconds
getSession
protected
AbstractSessionManager.Session
getSession(
String
idInCluster)
(Code)
getSessionMap
public
Map
getSessionMap()
(Code)
getSessions
public
int getSessions()
(Code)
invalidateSessions
protected
void invalidateSessions()
(Code)
newSession
protected
AbstractSessionManager.Session
newSession(
HttpServletRequest
request)
(Code)
removeSession
protected
void removeSession(
String
idInCluster)
(Code)
setMaxInactiveInterval
public
void setMaxInactiveInterval(int seconds)
(Code)
setScavengePeriod
public
void setScavengePeriod(int seconds)
(Code)
Parameters:
seconds -
Fields inherited from
org.mortbay.jetty.servlet.AbstractSessionManager
final
public
static int __distantFuture
(Code)
(Java Doc)
protected
ContextHandler.SContext
_context
(Code)
(Java Doc)
protected
int _dftMaxIdleSecs
(Code)
(Java Doc)
protected
boolean _httpOnly
(Code)
(Java Doc)
protected
ClassLoader
_loader
(Code)
(Java Doc)
protected
int _maxCookieAge
(Code)
(Java Doc)
protected
int _maxSessions
(Code)
(Java Doc)
protected
int _minSessions
(Code)
(Java Doc)
protected
int _refreshCookieAge
(Code)
(Java Doc)
protected
boolean _secureCookies
(Code)
(Java Doc)
protected
Object
_sessionAttributeListeners
(Code)
(Java Doc)
protected
String
_sessionCookie
(Code)
(Java Doc)
protected
String
_sessionDomain
(Code)
(Java Doc)
protected
SessionHandler
_sessionHandler
(Code)
(Java Doc)
protected
SessionIdManager
_sessionIdManager
(Code)
(Java Doc)
protected
Object
_sessionListeners
(Code)
(Java Doc)
protected
String
_sessionPath
(Code)
(Java Doc)
protected
String
_sessionURL
(Code)
(Java Doc)
protected
String
_sessionURLPrefix
(Code)
(Java Doc)
Methods inherited from
org.mortbay.jetty.servlet.AbstractSessionManager
public
Cookie
access(
HttpSession
session, boolean secure)
(Code)
(Java Doc)
public
void addEventListener(
EventListener
listener)
(Code)
(Java Doc)
abstract
protected
void addSession(Session session)
(Code)
(Java Doc)
protected
void addSession(Session session, boolean created)
(Code)
(Java Doc)
public
void clearEventListeners()
(Code)
(Java Doc)
public
void complete(
HttpSession
session)
(Code)
(Java Doc)
public
void doStart() throws
Exception
(Code)
(Java Doc)
public
void doStop() throws
Exception
(Code)
(Java Doc)
public
boolean getHttpOnly()
(Code)
(Java Doc)
public
HttpSession
getHttpSession(
String
id)
(Code)
(Java Doc)
public
SessionIdManager
getIdManager()
(Code)
(Java Doc)
public
int getMaxCookieAge()
(Code)
(Java Doc)
public
int getMaxInactiveInterval()
(Code)
(Java Doc)
public
int getMaxSessions()
(Code)
(Java Doc)
public
SessionIdManager
getMetaManager()
(Code)
(Java Doc)
public
int getMinSessions()
(Code)
(Java Doc)
public
int getRefreshCookieAge()
(Code)
(Java Doc)
public
boolean getSecureCookies()
(Code)
(Java Doc)
abstract
protected
Session getSession(
String
idInCluster)
(Code)
(Java Doc)
public
String
getSessionCookie()
(Code)
(Java Doc)
public
Cookie
getSessionCookie(
HttpSession
session,
String
contextPath, boolean requestIsSecure)
(Code)
(Java Doc)
public
String
getSessionDomain()
(Code)
(Java Doc)
public
SessionHandler
getSessionHandler()
(Code)
(Java Doc)
abstract
public
Map
getSessionMap()
(Code)
(Java Doc)
public
String
getSessionPath()
(Code)
(Java Doc)
public
String
getSessionURL()
(Code)
(Java Doc)
public
String
getSessionURLPrefix()
(Code)
(Java Doc)
abstract
public
int getSessions()
(Code)
(Java Doc)
abstract
protected
void invalidateSessions()
(Code)
(Java Doc)
public
boolean isUsingCookies()
(Code)
(Java Doc)
public
boolean isValid(
HttpSession
session)
(Code)
(Java Doc)
public
HttpSession
newHttpSession(
HttpServletRequest
request)
(Code)
(Java Doc)
abstract
protected
Session newSession(
HttpServletRequest
request)
(Code)
(Java Doc)
final
protected
void newSessionMap()
(Code)
(Java Doc)
public
void removeEventListener(
EventListener
listener)
(Code)
(Java Doc)
protected
void removeSession(Session session, boolean invalidate)
(Code)
(Java Doc)
abstract
protected
void removeSession(
String
idInCluster)
(Code)
(Java Doc)
public
void resetStats()
(Code)
(Java Doc)
public
void setHttpOnly(boolean httpOnly)
(Code)
(Java Doc)
public
void setIdManager(
SessionIdManager
metaManager)
(Code)
(Java Doc)
public
void setMaxCookieAge(int maxCookieAgeInSeconds)
(Code)
(Java Doc)
public
void setMaxInactiveInterval(int seconds)
(Code)
(Java Doc)
public
void setMetaManager(
SessionIdManager
metaManager)
(Code)
(Java Doc)
public
void setRefreshCookieAge(int ageInSeconds)
(Code)
(Java Doc)
public
void setSecureCookies(boolean secureCookies)
(Code)
(Java Doc)
public
void setSessionCookie(
String
cookieName)
(Code)
(Java Doc)
public
void setSessionDomain(
String
domain)
(Code)
(Java Doc)
public
void setSessionHandler(
SessionHandler
sessionHandler)
(Code)
(Java Doc)
public
void setSessionPath(
String
path)
(Code)
(Java Doc)
public
void setSessionURL(
String
url)
(Code)
(Java Doc)
public
void setUsingCookies(boolean usingCookies)
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.