@Nullable
    private static Integer getExposedInternalServicePort(BeanFactory beanFactory,
                                                         ArmeriaSettings armeriaSettings) {
        if (INTERNAL_SERVICES_CLASS == null) {
            return null;
        }

        final Object internalServices = findBean(beanFactory, INTERNAL_SERVICES_CLASS);
        if (internalServices == null) {
            return null;
        }
        final InternalServiceProperties internalServiceProperties = armeriaSettings.getInternalServices();
        boolean actuatorEnabled = false;
        if (internalServiceProperties != null && internalServiceProperties.getInclude() != null) {
            actuatorEnabled = internalServiceProperties.getInclude().contains(InternalServiceId.ACTUATOR) ||
                              internalServiceProperties.getInclude().contains(InternalServiceId.ALL);
        }
        if (!actuatorEnabled) {
            return null;
        }

        assert internalServiceProperties != null;
        return internalServiceProperties.getPort();
    }
Returns a {@link HttpCodeStatusMapper}.
See <a href="https://github.com/spring-projects/spring-boot/blob/9643dbeed26268f37d37c22385704de8911b8f21/spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/endpoints.adoc#writing-custom-healthindicators">writing-custom-healthindicators</a>.
spring/boot3-actuator-autoconfigure/src/main/java/com/linecorp/armeria/spring/actuate/ArmeriaSpringActuatorAutoConfiguration.java