public class UrlSessionTracking extends BaseSessionTracking implements SessionTracking
;<id-name>=<sessionId>. The id-name is
specified in order of priority:
SessionConfiguration.SESSION_ID_NAME ServletContext
initialization parameter
SessionConfiguration.SESSION_ID_NAME system property
SessionConfiguration.DEFAULT_SESSION_ID_NAME
idName, idProvider, SESSION_ID_TIMESTAMP_SEPARATOR| Constructor and Description |
|---|
UrlSessionTracking() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(SessionConfiguration configuration)
Configures tracking.
|
String |
encodeUrl(RequestWithSession request,
String url)
Encodes passed URL adding session if needed.
|
void |
propagateSession(RequestWithSession request,
Object response)
Propagates session to client.
|
String |
retrieveId(RequestWithSession request)
Retrieves session id from the request
|
clean, newIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewIdpublic void configure(SessionConfiguration configuration)
SessionTrackingconfigure in interface SessionTrackingconfigure in class BaseSessionTrackingconfiguration - the session configurationpublic String retrieveId(RequestWithSession request)
SessionTrackingretrieveId in interface SessionTrackingrequest - the current request objectpublic void propagateSession(RequestWithSession request, Object response)
SessionTrackingpropagateSession in interface SessionTrackingrequest - the current request objectresponse - the response objectpublic String encodeUrl(RequestWithSession request, String url)
SessionTrackingencodeUrl in interface SessionTrackingencodeUrl in class BaseSessionTrackingrequest - the current request objecturl - the URL to encodeCopyright © 2018 Amadeus s.a.s.. All rights reserved.