Package lumis.portal.monitor.impl
Class MonitorResource
- java.lang.Object
-
- lumis.portal.monitor.impl.MonitorResource
-
@Path("/lum-internal/monitor") public class MonitorResource extends java.lang.Object
Monitor REST resource.- Since:
- 9.0.0
- Version:
- $Revision: 25755 $ $Date: 2023-06-16 14:27:52 -0300 (Fri, 16 Jun 2023) $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LEAVE_PAGE_OBJECT_TYPE
static java.lang.String
PAGE_VIEW_OBJECT_TYPE
-
Constructor Summary
Constructors Constructor Description MonitorResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
leavePage(@javax.validation.constraints.NotNull long duration, @NotNull java.lang.String clientTitle, java.lang.String lumItemId)
Logs the page enter event.void
pageView(@NotNull java.lang.String clientTitle)
Logs the view event.
-
-
-
Field Detail
-
PAGE_VIEW_OBJECT_TYPE
public static final java.lang.String PAGE_VIEW_OBJECT_TYPE
- See Also:
- Constant Field Values
-
LEAVE_PAGE_OBJECT_TYPE
public static final java.lang.String LEAVE_PAGE_OBJECT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
pageView
@Path("/pageView") @POST public void pageView(@QueryParam("title") @NotNull @NotNull java.lang.String clientTitle) throws PortalException
Logs the view event.- Throws:
PortalException
- Since:
- 12.0.0
-
leavePage
@Path("/leavePage") @POST public void leavePage(@QueryParam("duration") @NotNull @javax.validation.constraints.NotNull long duration, @QueryParam("title") @NotNull @NotNull java.lang.String clientTitle, @QueryParam("lumItemId") java.lang.String lumItemId) throws PortalException
Logs the page enter event.- Throws:
PortalException
- Since:
- 12.0.0
-
-