Class ProxyExchangeWebMvcProperties

java.lang.Object
org.springframework.cloud.gateway.mvc.config.ProxyExchangeWebMvcProperties

@ConfigurationProperties("spring.cloud.gateway.proxy-exchange.webmvc") public class ProxyExchangeWebMvcProperties extends Object
Configuration properties for the ProxyExchange argument handler in @RequestMapping methods.
Author:
Dave Syer, Tim Ysewyn, Joris Kuipers
  • Field Details

    • PREFIX

      public static final String PREFIX
      Properties prefix.
      See Also:
    • DEFAULT_SENSITIVE

      public static Set<String> DEFAULT_SENSITIVE
      Contains headers that are considered sensitive by default.
    • DEFAULT_SKIPPED

      public static Set<String> DEFAULT_SKIPPED
      Contains headers that are skipped by default.
  • Constructor Details

    • ProxyExchangeWebMvcProperties

      public ProxyExchangeWebMvcProperties()
  • Method Details

    • getHeaders

      public Map<String,String> getHeaders()
    • setHeaders

      public void setHeaders(Map<String,String> headers)
    • getAutoForward

      public Set<String> getAutoForward()
    • setAutoForward

      public void setAutoForward(Set<String> autoForward)
    • getSensitive

      public Set<String> getSensitive()
    • setSensitive

      public void setSensitive(Set<String> sensitive)
    • getSkipped

      public Set<String> getSkipped()
    • setSkipped

      public void setSkipped(Set<String> skipped)
    • convertHeaders

      public org.springframework.http.HttpHeaders convertHeaders()