Record Class AuditorViews.FullContent
java.lang.Object
java.lang.Record
zeroecho.pki.server.AuditorViews.FullContent
- Record Components:
metadata- authorized full metadatacontent- complete binary content
- Enclosing class:
AuditorViews
public static record AuditorViews.FullContent(AuditorViews.FullMetadata metadata, byte[] content)
extends Record
Full binary content projection; byte content is never redacted in place.
-
Constructor Summary
ConstructorsConstructorDescriptionFullContent(AuditorViews.FullMetadata metadata, byte[] content) Defensively snapshots content. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]content()Returns a defensive content copy.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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FullContent
Defensively snapshots content.
-
-
Method Details
-
content
public byte[] content()Returns a defensive content copy.- Returns:
- complete binary content
-
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). -
metadata
-