Package org.dspace.matomo.model
Class MatomoRequestDetails
java.lang.Object
org.dspace.matomo.model.MatomoRequestDetails
Encapsulates the details of a single request
- Author:
- Vincenzo Mecca (vins01-4science - vincenzo.mecca at 4science.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a cookie key-value pair to the request detailsaddParameter(String key, String value) Adds a parameter key-value pair to the request details
-
Constructor Details
-
MatomoRequestDetails
public MatomoRequestDetails()
-
-
Method Details
-
addParameter
Adds a parameter key-value pair to the request details- Parameters:
key- The parameter keyvalue- The parameter value- Returns:
- The current MatomoRequestDetails instance for method chaining
-
addCookie
Adds a cookie key-value pair to the request details- Parameters:
key- The cookie keyvalue- The cookie value- Returns:
- The current MatomoRequestDetails instance for method chaining
-