Package org.bgerp.app.servlet.user.event
Class ActionRequestEvent
java.lang.Object
org.bgerp.app.servlet.user.event.ActionRequestEvent
HTTP request calling action.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionActionRequestEvent
(javax.servlet.http.HttpServletRequest request, String action, PermissionNode permissionNode, long duration, String error) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bgerp.app.event.iface.Event
processing
-
Constructor Details
-
ActionRequestEvent
public ActionRequestEvent(javax.servlet.http.HttpServletRequest request, String action, PermissionNode permissionNode, long duration, String error)
-
-
Method Details
-
getRequest
public javax.servlet.http.HttpServletRequest getRequest()- Returns:
- HTTP request.
-
getAction
- Returns:
- action identifier, semicolon separated action class name and called method.
-
getPermissionNode
- Returns:
- action permission node.
-
getDuration
public long getDuration()- Returns:
- execution duration in milliseconds.
-
getError
- Returns:
- execution status string, empty when successful.
-