Class ArmeriaSettings.InternalServiceProperties

java.lang.Object
com.linecorp.armeria.spring.ArmeriaSettings.Port
com.linecorp.armeria.spring.ArmeriaSettings.InternalServiceProperties
Enclosing class:
ArmeriaSettings

public static class ArmeriaSettings.InternalServiceProperties extends ArmeriaSettings.Port
Properties for internal services such as DocService, PrometheusExpositionService, and HealthCheckService.
  • Constructor Details

    • InternalServiceProperties

      public InternalServiceProperties()
  • Method Details

    • getInclude

      @Nullable public @Nullable List<InternalServiceId> getInclude()
      Returns the include property to secure the HTTP endpoints from normal ports.
    • setInclude

      public void setInclude(List<InternalServiceId> include)
      Sets the IDs of the HttpServices to secure from normal ports.
      Supported service IDs
      ID Service
      docs DocService
      metrics PrometheusExpositionService
      health HealthCheckService
      actuator To bind WebOperationService. Note that this option is only valid when "armeria-spring-boot2-actuator-autoconfigure" is activated.

      InternalServiceId.ALL can be used to include all internal HttpServices.

      See Also: