Class AdminRequestEvent
java.lang.Object
jdk.jfr.Event
zeroecho.pki.server.jfr.AdminRequestEvent
JFR event emitted for every request handled by the administrative HTTPS handler.
Captures the operation type, acting principal, HTTP status code, and whether the request was authorized. The event duration spans the full handler lifecycle from request receipt to response write — useful for measuring end-to-end admin API latency per operation and principal.
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanWhether the request was authorized and admitted for execution.intHTTP status code of the response sent to the caller.Stable operation identifier resolved from the request path, e.g.Server principal identifier of the authenticated end-client; empty string when authentication failed or did not complete. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an uncommitted event with default field values; populate fields before committing. -
Method Summary
-
Field Details
-
operationId
Stable operation identifier resolved from the request path, e.g.credential.issue; empty string for pre-routing failures. -
principalId
Server principal identifier of the authenticated end-client; empty string when authentication failed or did not complete. -
httpStatus
public int httpStatusHTTP status code of the response sent to the caller. -
authorized
public boolean authorizedWhether the request was authorized and admitted for execution.
-
-
Constructor Details
-
AdminRequestEvent
public AdminRequestEvent()Creates an uncommitted event with default field values; populate fields before committing.
-