Record Class ReportingEndpoints
java.lang.Object
java.lang.Record
io.micronaut.security.reporting.ReportingEndpoints
- Record Components:
endpoints- endpoints to advertise
An unmodifiable collection of endpoints serialized as a
Reporting-Endpoints header value.
The header uses the HTTP Structured Fields dictionary format. Endpoint entries are therefore separated by commas, names use the dictionary-key grammar, and URI references are serialized as quoted string values.
Endpoints are serialized in endpoint-name order to produce a deterministic header. Endpoint order has no effect on Reporting API processing.
- Since:
- 5.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringStandard Reporting API response-header name. -
Constructor Summary
ConstructorsConstructorDescriptionReportingEndpoints(Collection<ReportingEndpoint> endpoints) Creates an immutable endpoint collection in deterministic serialization order. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theendpointsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Serializes the endpoints as an HTTP Structured Fields dictionary.
-
Field Details
-
HEADER_NAME
-
-
Constructor Details
-
ReportingEndpoints
Creates an immutable endpoint collection in deterministic serialization order.- Parameters:
endpoints- endpoints to advertise- Since:
- 5.4.0
-
-
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). -
endpoints
-