@ JsonIgnore public Set < String > getHealthCheckUrls ( ) { Set < String > healthCheckUrlSet = new LinkedHashSet < String > ( ) ; if ( this . isUnsecurePortEnabled && healthCheckUrl != null && ! healthCheckUrl . isEmpty ( ) ) { healthCheckUrlSet . add ( healthCheckUrl ) ; } if ( this . isSecurePortEnabled && secureHealthCheckUrl != null && ! secureHealthCheckUrl . isEmpty ( ) ) { healthCheckUrlSet . add ( secureHealthCheckUrl ) ; } return healthCheckUrlSet ; }
Gets the absolute URLs for the health check page for both secure and non - secure protocols . If the port is not enabled then the URL is excluded .