Class InternalServices

java.lang.Object
com.linecorp.armeria.spring.InternalServices

@UnstableApi public final class InternalServices extends Object
A collection of internal HttpServices and their Ports.
  • Method Details

    • of

      @UnstableApi public static InternalServices of(ArmeriaSettings settings, MeterRegistry meterRegistry, List<com.linecorp.armeria.server.healthcheck.HealthChecker> healthCheckers, List<HealthCheckServiceConfigurator> healthCheckServiceConfigurators, List<DocServiceConfigurator> docServiceConfigurators, @Nullable @Nullable Integer managementServerPort, @Nullable @Nullable InetAddress managementServerAddress, boolean enableManagementServerSsl)
      Returns a newly created InternalServices from the specified properties.
    • docService

      @Nullable public @Nullable com.linecorp.armeria.server.docs.DocService docService()
      Returns the DocService.
    • metricsExpositionService

      @Nullable public @Nullable com.linecorp.armeria.server.HttpService metricsExpositionService()
      Returns the metrics exposition HttpService.
    • healthCheckService

      @Nullable public @Nullable com.linecorp.armeria.server.healthcheck.HealthCheckService healthCheckService()
      Returns the HealthCheckService.
    • internalServicePort

      @Nullable public @Nullable ArmeriaSettings.Port internalServicePort()
      Returns the port to serve the internal services on.
    • managementServerPort

      @Nullable public @Nullable ArmeriaSettings.Port managementServerPort()
      Returns the management server port of org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties.
    • toString

      public String toString()
      Overrides:
      toString in class Object