public class RequestAuditLoggerImpl extends Object implements RequestAuditLogger
| Constructor and Description |
|---|
RequestAuditLoggerImpl(AuditLogger auditLogger,
Set<RequestAuditEventCreator> creatorSet)
Injecting dependencies through the constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
log(Request request,
Result result)
Finds the proper creator, then creates and logs and
AuditEvent |
@Inject public RequestAuditLoggerImpl(AuditLogger auditLogger, Set<RequestAuditEventCreator> creatorSet)
auditLogger - Audit LoggercreatorSet - Set of plugins that are registered for requestspublic void log(Request request, Result result)
AuditEventlog in interface RequestAuditLoggerrequest - result - Copyright © 2022 Apache Software Foundation. All rights reserved.