Package ubic.gemma.rest.analytics.ga4
Class RequestAttributesBasedClientIdRetrievalStrategy
java.lang.Object
ubic.gemma.rest.analytics.ga4.RequestAttributesBasedClientIdRetrievalStrategy
- All Implemented Interfaces:
ClientIdRetrievalStrategy
public class RequestAttributesBasedClientIdRetrievalStrategy
extends Object
implements ClientIdRetrievalStrategy
Strategy that retrieves and store client IDs in the
RequestAttributes
.- Author:
- poirigui
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
void
setAttribute
(String attribute) Set the attribute to retrieve to obtain the client ID.void
setScope
(int scope) Set the scope to use for retrieving and storing the client ID.
-
Constructor Details
-
RequestAttributesBasedClientIdRetrievalStrategy
public RequestAttributesBasedClientIdRetrievalStrategy()
-
-
Method Details
-
get
- Specified by:
get
in interfaceClientIdRetrievalStrategy
-
setAttribute
Set the attribute to retrieve to obtain the client ID. -
setScope
public void setScope(int scope) Set the scope to use for retrieving and storing the client ID.- See Also:
-