public class InitialOriginValuesProvider extends OriginValueProvider
Modifier and Type | Method and Description |
---|---|
static void |
adjustAndAddToContext(HttpServletRequest request,
String currentURL,
String originURL,
String utmSource,
String utmMedium,
String utmTerm,
String utmContent,
String utmName)
Adjust the HTTP session value, if needed, and attach to monitor context.
|
protected String |
getMonitorFieldOriginName()
Returns the monitor field for the origin name.
|
protected String |
getMonitorFieldOriginType()
Returns the monitor field for the origin type.
|
protected String |
getMonitorFieldOriginUrl()
Returns the monitor field for the origin URL.
|
protected Map<String,List<? extends Serializable>> |
initValues(SessionConfig sessionConfig,
ITransaction transaction)
Initializes the monitoring values map.
|
sameSite
getValues
public static void adjustAndAddToContext(HttpServletRequest request, String currentURL, String originURL, String utmSource, String utmMedium, String utmTerm, String utmContent, String utmName) throws URISyntaxException
request
- the request.currentURL
- the currently accessed URLoriginURL
- the origin URLutmSource
- the UTM sourceutmMedium
- the UTM mediumutmTerm
- the UTM termutmContent
- the UTM contentutmName
- the UTM nameURISyntaxException
- throw if the provided originUrl is invalid.protected String getMonitorFieldOriginUrl()
OriginValueProvider
getMonitorFieldOriginUrl
in class OriginValueProvider
protected String getMonitorFieldOriginName()
OriginValueProvider
getMonitorFieldOriginName
in class OriginValueProvider
protected String getMonitorFieldOriginType()
OriginValueProvider
getMonitorFieldOriginType
in class OriginValueProvider
protected Map<String,List<? extends Serializable>> initValues(SessionConfig sessionConfig, ITransaction transaction) throws Exception
AbstractMonitorValuesProvider
null
. If no value is present, an empty map should be returned
instead.initValues
in class OriginValueProvider
sessionConfig
- the session config.transaction
- the transaction.Exception
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.