Uses of Class
org.apache.unomi.utils.EventsRequestContext
Packages that use EventsRequestContext
-
Uses of EventsRequestContext in org.apache.unomi.rest.service
Methods in org.apache.unomi.rest.service that return EventsRequestContextModifier and TypeMethodDescriptionRestServiceUtils.initEventsRequest(String scope, String sessionId, String profileId, String personaId, boolean invalidateProfile, boolean invalidateSession, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Date timestamp) This method is used to initialize the context for a request that would require executing events.RestServiceUtils.performEventsRequest(List<Event> events, EventsRequestContext eventsRequestContext) Execute the list of events using the dedicated eventsRequestContextMethods in org.apache.unomi.rest.service with parameters of type EventsRequestContextModifier and TypeMethodDescriptionvoidRestServiceUtils.finalizeEventsRequest(EventsRequestContext eventsRequestContext, boolean crashOnError) At the end of an events requests we want to save/update the profile and/or the session depending on the changes Also we want to return a cookie about current visitor profile IDRestServiceUtils.performEventsRequest(List<Event> events, EventsRequestContext eventsRequestContext) Execute the list of events using the dedicated eventsRequestContext -
Uses of EventsRequestContext in org.apache.unomi.rest.service.impl
Methods in org.apache.unomi.rest.service.impl that return EventsRequestContextModifier and TypeMethodDescriptionRestServiceUtilsImpl.initEventsRequest(String scope, String sessionId, String profileId, String personaId, boolean invalidateProfile, boolean invalidateSession, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Date timestamp) RestServiceUtilsImpl.performEventsRequest(List<Event> events, EventsRequestContext eventsRequestContext) Methods in org.apache.unomi.rest.service.impl with parameters of type EventsRequestContextModifier and TypeMethodDescriptionvoidRestServiceUtilsImpl.finalizeEventsRequest(EventsRequestContext eventsRequestContext, boolean crashOnError) RestServiceUtilsImpl.performEventsRequest(List<Event> events, EventsRequestContext eventsRequestContext)