Class MonitorResource


  • @Path("/lum-internal/monitor")
    public class MonitorResource
    extends java.lang.Object
    Monitor REST resource.
    Since:
    9.0.0
    Version:
    $Revision$ $Date$
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • MonitorResource

        public MonitorResource()
    • 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