Class StarterConfiguration

java.lang.Object
io.micronaut.starter.api.StarterConfiguration

@ConfigurationProperties("micronaut.starter") public class StarterConfiguration extends Object
Allows configuration of the links exposed in URLs.
Since:
1.0.0
Author:
graemerocher
  • Field Details

  • Constructor Details

    • StarterConfiguration

      public StarterConfiguration()
      Default constructor.
  • Method Details

    • getRedirectUri

      public Optional<URI> getRedirectUri()
      Returns:
      The URI to redirect to when visiting via the browser
    • setRedirectUri

      public void setRedirectUri(@Nullable @Nullable URI redirectUri)
      Sets the URI to redirect to when visiting via the browser.
      Parameters:
      redirectUri - The redirect URI
    • getUrl

      public Optional<URL> getUrl()
      Returns:
      The URL of the service
    • setUrl

      public void setUrl(URL url)
    • getPath

      public Optional<String> getPath()
      Returns:
      The path of the service.
    • setPath

      public void setPath(String path)