Class EventsCollectorRequest


  • public class EventsCollectorRequest
    extends Object
    A request for events to be processed.
    • Constructor Detail

      • EventsCollectorRequest

        public EventsCollectorRequest()
    • Method Detail

      • getEvents

        public List<Event> getEvents()
        Retrieves the events to be processed.
        Returns:
        the events to be processed
      • setEvents

        public void setEvents​(List<Event> events)
      • getSessionId

        public String getSessionId()
        Retrieve the sessionId passed along with the request. All events will be processed with this sessionId as a default
        Returns:
        the identifier for the session
      • setSessionId

        public void setSessionId​(String sessionId)
        Sets the sessionId in the request. This is the preferred method of passing along a session identifier with the request, as passing it along in the URL can lead to potential security vulnerabilities.
        Parameters:
        sessionId - an unique identifier for the session
      • getProfileId

        public String getProfileId()
        Retrieve the profileId passed along with the request. All events will be processed with this profileId as a default
        Returns:
        the identifier for the profile
      • setProfileId

        public void setProfileId​(String profileId)
        Sets the profileId in the request.
        Parameters:
        profileId - an unique identifier for the profile