Class HealthResultFilter

java.lang.Object
io.micronaut.management.endpoint.health.filter.HealthResultFilter

@ServerFilter(value={"/?${endpoints.all.path:/}/?${endpoints.health.id:health}","/?${endpoints.all.path:/}/?${endpoints.health.id:health}/?liveness","/?${endpoints.all.path:/}/?${endpoints.health.id:health}/?readiness"}, patternStyle=REGEX) @Requires(beans=HealthEndpoint.class) @Internal public class HealthResultFilter extends Object
A filter that matches the HealthEndpoint and returns an appropriate HTTP status code.
Since:
1.0
Author:
graemerocher
  • Field Details

  • Constructor Details

    • HealthResultFilter

      protected HealthResultFilter(HealthEndpoint healthEndpoint)
      Default constructor.
      Parameters:
      healthEndpoint - The health endpoint
  • Method Details