Package lumis.portal.monitor.impl
Class MonitorResource
- java.lang.Object
-
- lumis.portal.monitor.impl.MonitorResource
-
-
Field Summary
Fields Modifier and Type Field Description static String
LEAVE_PAGE_OBJECT_TYPE
static 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(long duration, String clientTitle)
Logs the page enter event.void
pageView(String clientTitle)
Logs the view event.
-
-
-
Field Detail
-
PAGE_VIEW_OBJECT_TYPE
public static final String PAGE_VIEW_OBJECT_TYPE
- See Also:
- Constant Field Values
-
LEAVE_PAGE_OBJECT_TYPE
public static final String LEAVE_PAGE_OBJECT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
pageView
@Path("/pageView") @POST public void pageView(@QueryParam("title") @NotNull String clientTitle) throws PortalException
Logs the view event.- Throws:
PortalException
- Since:
- 12.0.0
-
leavePage
@Path("/leavePage") @POST public void leavePage(@QueryParam("duration") @NotNull long duration, @QueryParam("title") @NotNull String clientTitle) throws PortalException
Logs the page enter event.- Throws:
PortalException
- Since:
- 12.0.0
-
-