Package com.google.gerrit.audit
Class HttpAuditEvent
- java.lang.Object
-
- com.google.gerrit.audit.AuditEvent
-
- com.google.gerrit.audit.HttpAuditEvent
-
- Direct Known Subclasses:
ExtendedHttpAuditEvent
,RpcAuditEvent
public class HttpAuditEvent extends AuditEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gerrit.audit.AuditEvent
AuditEvent.UUID
-
-
Field Summary
Fields Modifier and Type Field Description String
httpMethod
int
httpStatus
Object
input
-
Fields inherited from class com.google.gerrit.audit.AuditEvent
elapsed, EMPTY_PARAMS, params, result, sessionId, timeAtStart, UNKNOWN_SESSION_ID, uuid, what, when, who
-
-
Constructor Summary
Constructors Constructor Description HttpAuditEvent(String sessionId, CurrentUser who, String what, long when, com.google.common.collect.ListMultimap<String,?> params, String httpMethod, Object input, int status, Object result)
Creates a new audit event with results
-
-
-
Constructor Detail
-
HttpAuditEvent
public HttpAuditEvent(String sessionId, CurrentUser who, String what, long when, com.google.common.collect.ListMultimap<String,?> params, String httpMethod, Object input, int status, Object result)
Creates a new audit event with results- Parameters:
sessionId
- session id the event belongs towho
- principal that has generated the eventwhat
- object of the eventwhen
- time-stamp of when the event startedparams
- parameters of the eventhttpMethod
- HTTP methodinput
- inputstatus
- HTTP statusresult
- result of the event
-
-