public.javadoc.org.spincast.core.routing.StaticResourceCorsConfig.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
StaticResourceCorsConfig (org.spincast:spincast-framework 1.0.0 API)
org.spincast.core.routing
Interface StaticResourceCorsConfig
-
- All Known Implementing Classes:
- StaticResourceCorsConfigDefault
public interface StaticResourceCorsConfig
Cors configurations available for a static resource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
Set<String>
getAllowedOrigins()
The allowed origins.
Set<String>
getExtraHeadersAllowedToBeRead()
The extra headers a browser will be allowed to read.
Set<String>
getExtraHeadersAllowedToBeSent()
The extra headers a browser will be allowed to send.
int
getMaxAgeInSeconds()
The max Age a preflight request can be cached.
boolean
isAllowCookies()
Are cookies allowed?
-
-
Method Detail
-
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.
Copyright © 2019. All rights reserved.