Interface StaticResourceCorsConfig

All Known Implementing Classes:
StaticResourceCorsConfigDefault

public interface StaticResourceCorsConfig
Cors configurations available for a static resource.
  • Method Details

    • getAllowedOrigins

      Set<String> getAllowedOrigins()
      The allowed origins.
    • getExtraHeadersAllowedToBeRead

      Set<String> getExtraHeadersAllowedToBeRead()
      The extra headers a browser will be allowed to read.
    • getExtraHeadersAllowedToBeSent

      Set<String> getExtraHeadersAllowedToBeSent()
      The extra headers a browser will be allowed to send.
    • isAllowCookies

      boolean isAllowCookies()
      Are cookies allowed?
    • getMaxAgeInSeconds

      int getMaxAgeInSeconds()
      The max Age a preflight request can be cached.