Interface ControllerConfiguration

All Superinterfaces:
io.micronaut.core.util.Toggleable
All Known Subinterfaces:
KeysControllerConfiguration, LoginControllerConfiguration, LogoutControllerConfiguration, OauthControllerConfiguration
All Known Implementing Classes:
KeysControllerConfigurationProperties, LoginControllerConfigurationProperties, LogoutControllerConfigurationProperties, OauthControllerConfigurationProperties
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 ControllerConfiguration extends io.micronaut.core.util.Toggleable
Base configuration for all controllers.
Since:
3.4.2
Author:
Álvaro Sánchez-Mariscal
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull String
     
    default @NonNull Set<String>
     

    Methods inherited from interface io.micronaut.core.util.Toggleable

    isEnabled
  • Method Details

    • getPath

      @NonNull @NonNull String getPath()
      Returns:
      the path where the controller is enabled.
    • getPostContentTypes

      @NonNull default @NonNull Set<String> getPostContentTypes()
      Returns:
      Supported HTTP methods for POST endpoints.
      Since:
      4.11.0