Package org.spincast.core.routing
Interface StaticResourceCorsConfig
- All Known Implementing Classes:
StaticResourceCorsConfigDefault
public interface StaticResourceCorsConfig
Cors configurations available for a static resource.
-
Method Summary
Modifier and TypeMethodDescriptionThe allowed origins.The extra headers a browser will be allowed to read.The extra headers a browser will be allowed to send.int
The max Age a preflight request can be cached.boolean
Are cookies allowed?
-
Method Details
-
getAllowedOrigins
The allowed origins. -
getExtraHeadersAllowedToBeRead
The extra headers a browser will be allowed to read. -
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.
-