public abstract class OriginValueProvider extends AbstractMonitorValuesProvider
Modifier and Type | Field and Description |
---|---|
protected String |
gclid |
protected String |
utmContent |
protected String |
utmMedium |
protected String |
utmName |
protected String |
utmSource |
protected String |
utmTerm |
Constructor and Description |
---|
OriginValueProvider(String originUrl,
String clientUrl,
String utmSource,
String utmMedium,
String utmTerm,
String utmContent,
String utmName,
String gclid)
This class' constructor
|
OriginValueProvider(URI originURI,
URI clientURI,
String utmSource,
String utmMedium,
String utmTerm,
String utmContent,
String utmName,
String gclid)
This class' constructor
|
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getMonitorFieldOriginName()
Returns the monitor field for the origin name.
|
protected abstract String |
getMonitorFieldOriginType()
Returns the monitor field for the origin type.
|
protected abstract 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.
|
protected static boolean |
sameSite(URI clientUri,
URI originUri)
Compare if the given URI's are from the same domain.
|
getValues
protected final String utmSource
protected final String utmMedium
protected final String utmTerm
protected final String utmContent
protected final String utmName
protected final String gclid
public OriginValueProvider(String originUrl, String clientUrl, String utmSource, String utmMedium, String utmTerm, String utmContent, String utmName, String gclid) throws URISyntaxException
originUrl
- clientUrl
- utmSource
- the UTM sourceutmMedium
- the UTM mediumutmTerm
- the UTM termutmContent
- the UTM contentutmName
- the UTM namegclid
- the gclid parameterURISyntaxException
public OriginValueProvider(URI originURI, URI clientURI, String utmSource, String utmMedium, String utmTerm, String utmContent, String utmName, String gclid)
originURI
- clientURI
- utmSource
- the UTM sourceutmMedium
- the UTM mediumutmTerm
- the UTM termutmContent
- the UTM contentutmName
- the UTM namegclid
- the gclid parameterprotected 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 AbstractMonitorValuesProvider
sessionConfig
- the session config.transaction
- the transaction.Exception
protected abstract String getMonitorFieldOriginUrl()
protected abstract String getMonitorFieldOriginName()
protected abstract String getMonitorFieldOriginType()
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.