public abstract class BaseSessionTracking extends Object implements SessionTracking
ServletContext.| Modifier and Type | Field and Description |
|---|---|
protected String |
idName |
protected SessionIdProvider |
idProvider |
protected static char |
SESSION_ID_TIMESTAMP_SEPARATOR |
| Constructor and Description |
|---|
BaseSessionTracking() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
clean(String value)
Returns cleaned value of the session or
null if cookie value
has invalid id format. |
void |
configure(SessionConfiguration configuration)
Configures tracking.
|
String |
encodeUrl(RequestWithSession request,
String url)
Encodes passed URL adding session if needed.
|
String |
newId()
Generates new session id.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpropagateSession, retrieveIdprotected String idName
protected SessionIdProvider idProvider
protected static final char SESSION_ID_TIMESTAMP_SEPARATOR
public void configure(SessionConfiguration configuration)
SessionTrackingconfigure in interface SessionTrackingconfiguration - the session configurationpublic String newId()
SessionTrackingnewId in interface SessionTrackingpublic String encodeUrl(RequestWithSession request, String url)
SessionTrackingencodeUrl in interface SessionTrackingrequest - the current request objecturl - the URL to encodeCopyright © 2018 Amadeus s.a.s.. All rights reserved.