类 PortletRequestHandledEvent

    • 构造器详细资料

      • PortletRequestHandledEvent

        public PortletRequestHandledEvent​(Object source,
                                          String portletName,
                                          String portletMode,
                                          String requestType,
                                          String sessionId,
                                          String userName,
                                          long processingTimeMillis)
        Create a new PortletRequestHandledEvent.
        参数:
        source - the component that published the event
        portletName - the name of the portlet that handled the request
        portletMode - the PortletMode of the request (usually 'view', 'edit', or 'help')
        requestType - the type of Portlet request ('action' or 'render')
        sessionId - the id of the HTTP session, if any
        userName - the name of the user that was associated with the request, if any (usually the UserPrincipal)
        processingTimeMillis - the processing time of the request in milliseconds
      • PortletRequestHandledEvent

        public PortletRequestHandledEvent​(Object source,
                                          String portletName,
                                          String portletMode,
                                          String requestType,
                                          String sessionId,
                                          String userName,
                                          long processingTimeMillis,
                                          Throwable failureCause)
        Create a new PortletRequestHandledEvent.
        参数:
        source - the component that published the event
        portletName - the name of the portlet that handled the request
        portletMode - the PortletMode of the request (usually 'view', 'edit', or 'help')
        requestType - the type of Portlet request ('action' or 'render')
        sessionId - the id of the HTTP session, if any
        userName - the name of the user that was associated with the request, if any (usually the UserPrincipal)
        processingTimeMillis - the processing time of the request in milliseconds
        failureCause - the cause of failure, if any