creates a simple auditevent with the details of request and response concode_field_sep Set<Request.Type> requestTypes concode_field_sep Set<ResultStatus.STATUS> getResultStatuses concode_elem_sep Set<Request.Type> getRequestTypes concode_elem_sep Set<Resource.Type> getResourceTypes
AuditEvent function ( final Request arg0 , final Result arg1 ) { return RequestAuditEvent . builder ( ) . withTimestamp ( System . currentTimeMillis ( ) ) . withRemoteIp ( arg0 . getRemoteAddress ( ) ) . withRequestType ( arg0 . getRequestType ( ) ) . withUrl ( arg0 . getURI ( ) ) . withResultStatus ( arg1 . getStatus ( ) ) . build ( ) ; }