Interface BaseUrlProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BaseUrlProvider
Strategy used to provide the base URL that can be used to connect to the running server. Implementations can be registered in spring.factories and may accept an ApplicationContext constructor argument.
Since:
4.0.0
Author:
Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable BaseUrl
    Return the base URL that can be used to connect to the running server.
  • Method Details

    • getBaseUrl

      @Nullable BaseUrl getBaseUrl()
      Return the base URL that can be used to connect to the running server.
      Returns:
      the base URL or null