Interface HeaderConfig


public interface HeaderConfig
Configuration that allows for setting an HTTP header
  • Method Summary

    Modifier and Type
    Method
    Description
    The HTTP methods for this header configuration.
    The path this header should be applied
    The value for this header configuration
  • Method Details

    • path

      @WithDefault("/*") String path()
      The path this header should be applied
    • value

      String value()
      The value for this header configuration
    • methods

      Optional<List<String>> methods()
      The HTTP methods for this header configuration.

      If no HTTP methods are specified, the header will be always added.