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: 23451 $ $Date: 2019-12-26 17:57:29 -0300 (Thu, 26 Dec 2019) $
-
-
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)
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) throws PortalException
Logs the page enter event.- Throws:
PortalException
- Since:
- 12.0.0
-
-