|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SessionTracker
This interface defines the basic function of a session tracker.
| Method Summary | |
|---|---|
void |
eventArrived(AuditEvent event)
This method simply associates the give event with a session or creates a new session if this event is not related to a previous one. |
java.util.Collection<Session> |
getSessions()
Returns a list (collection) of the sessions that have been created/observed by this tracker. |
long |
getSessionTimeOut()
|
void |
reset()
This method resets the tracker to a clean state, forgetting about all sessions. |
void |
setSessionTimeOut(long s)
|
void |
setStrictSessions(boolean b)
Enables strict-mode for tracking/creating new sessions. |
boolean |
usesStrictSessions()
Returns true, if the tracker only produces strict sessions. |
| Method Detail |
|---|
void setStrictSessions(boolean b)
true,
new sessions are only created by session-identifiers sent from the server-side (Set-Cookie,
href,...).
b - void setSessionTimeOut(long s)
long getSessionTimeOut()
boolean usesStrictSessions()
true, if the tracker only produces strict sessions.
true, if this tracker creates only strict sessions.void eventArrived(AuditEvent event)
eventArrived in interface AuditEventListenerevent - void reset()
java.util.Collection<Session> getSessions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||