Interface ReportingEndpointProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Supplies a request-specific Reporting API endpoint.
Providers complement endpoints declared through configuration. They are useful when an endpoint URI depends on request routing or tenant context.
- Since:
- 5.4.0
-
Method Summary
Modifier and TypeMethodDescription@Nullable ReportingEndpointreportingEndpoint(io.micronaut.http.HttpRequest<?> request) Creates the endpoint to advertise for a request.
-
Method Details
-
reportingEndpoint
Creates the endpoint to advertise for a request.- Parameters:
request- current HTTP request- Returns:
- endpoint to add to the request's
Reporting-Endpointsheader, ornullwhen this provider does not contribute an endpoint for the request - Since:
- 5.4.0
-