Class ProblemConfigurationProperties

java.lang.Object
io.github.belgif.rest.problem.spring.ProblemConfigurationProperties
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

@Component public class ProblemConfigurationProperties extends Object implements org.springframework.beans.factory.InitializingBean
Lists all supported application.properties configurations for the belgif-rest-problem-spring library.
  • Constructor Details

    • ProblemConfigurationProperties

      public ProblemConfigurationProperties()
  • Method Details

    • setScanAdditionalProblemPackages

      @Value("${io.github.belgif.rest.problem.scan-additional-problem-packages:#{{}}}") public void setScanAdditionalProblemPackages(List<String> scanAdditionalProblemPackages)
    • getScanAdditionalProblemPackages

      public List<String> getScanAdditionalProblemPackages()
    • setI18nEnabled

      @Value("${io.github.belgif.rest.problem.i18n-enabled:#{null}}") public void setI18nEnabled(Boolean i18nEnabled)
    • setStackTraceEnabled

      @Value("${io.github.belgif.rest.problem.stack-trace-enabled:#{null}}") public void setStackTraceEnabled(Boolean stackTraceEnabled)
    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean