Record Class NuggetIntrospection.Request
java.lang.Object
java.lang.Record
org.j7m.middleware.operations.api.NuggetIntrospection.Request
- Record Components:
admissionId- accepted Phase 7.1 admission idsecurityContext- existing caller security contextcorrelationId- audit correlation idrequestedAt- request creation timemetadata- safe request metadata
- Enclosing class:
NuggetIntrospection
public static record NuggetIntrospection.Request(String admissionId, SecurityContext securityContext, String correlationId, Instant requestedAt, Map<String,String> metadata)
extends Record
Per-operation request metadata.
Admission id, correlation id, and metadata are bounded and copied before authorization and audit. Metadata count, key size, value size, and aggregate UTF-8 size are capped, and sensitive names or values are replaced with stable safe markers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadmissionIdrecord component.Returns the value of thecorrelationIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.Returns the value of therequestedAtrecord component.Returns the value of thesecurityContextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Request
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
admissionId
Returns the value of theadmissionIdrecord component.- Returns:
- the value of the
admissionIdrecord component
-
securityContext
Returns the value of thesecurityContextrecord component.- Returns:
- the value of the
securityContextrecord component
-
correlationId
Returns the value of thecorrelationIdrecord component.- Returns:
- the value of the
correlationIdrecord component
-
requestedAt
Returns the value of therequestedAtrecord component.- Returns:
- the value of the
requestedAtrecord component
-
metadata
-