public interface SessionTracking
| Modifier and Type | Method and Description |
|---|---|
void |
configure(SessionConfiguration sessionConfiguration)
Configures tracking.
|
String |
encodeUrl(RequestWithSession request,
String url)
Encodes passed URL adding session if needed.
|
String |
newId()
Generates new session id.
|
void |
propagateSession(RequestWithSession request,
Object response)
Propagates session to client.
|
String |
retrieveId(RequestWithSession request)
Retrieves session id from the request
|
void configure(SessionConfiguration sessionConfiguration)
sessionConfiguration - the session configurationString retrieveId(RequestWithSession request)
request - the current request objectvoid propagateSession(RequestWithSession request, Object response)
request - the current request objectresponse - the response objectString newId()
String encodeUrl(RequestWithSession request, String url)
request - the current request objecturl - the URL to encodeCopyright © 2018 Amadeus s.a.s.. All rights reserved.