Package org.dspace.matomo.factory
Class MatomoRequestIpAddressEnricher
java.lang.Object
org.dspace.matomo.factory.MatomoRequestIpAddressEnricher
- All Implemented Interfaces:
MatomoRequestDetailsEnricher
Adds the IP address of the client to the
MatomoRequestDetails.- Author:
- Vincenzo Mecca (vins01-4science - vincenzo.mecca at 4science.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenrich(UsageEvent usageEvent, MatomoRequestDetails matomoRequestDetails) Enriches the provided MatomoRequestDetails with additional parameters based on the UsageEvent.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.matomo.factory.MatomoRequestDetailsEnricher
compose
-
Constructor Details
-
MatomoRequestIpAddressEnricher
-
-
Method Details
-
enrich
public MatomoRequestDetails enrich(UsageEvent usageEvent, MatomoRequestDetails matomoRequestDetails) Description copied from interface:MatomoRequestDetailsEnricherEnriches the provided MatomoRequestDetails with additional parameters based on the UsageEvent.- Specified by:
enrichin interfaceMatomoRequestDetailsEnricher- Parameters:
usageEvent- The usage event containing information to enrich the request detailsmatomoRequestDetails- The request details object to be enriched with additional parameters- Returns:
- The enriched MatomoRequestDetails object
-