public abstract class OriginValueProvider extends AbstractMonitorValuesProvider
Constructor and Description |
---|
OriginValueProvider(String originUrl,
String clientUrl)
This class' constructor
|
OriginValueProvider(URI originURI,
URI clientURI)
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
public OriginValueProvider(String originUrl, String clientUrl) throws URISyntaxException
originUrl
- clientUrl
- URISyntaxException
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 AbstractMonitorValuesProvider
sessionConfig
- the session config.transaction
- the transaction.Exception
protected abstract String getMonitorFieldOriginUrl()
protected abstract String getMonitorFieldOriginName()
protected abstract String getMonitorFieldOriginType()
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.