public class StaticResourceCorsConfigDefault extends Object implements StaticResourceCorsConfig
| Constructor and Description |
|---|
StaticResourceCorsConfigDefault(Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
int maxAgeInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllowedOrigins() |
Set<String> |
getExtraHeadersAllowedToBeRead() |
Set<String> |
getExtraHeadersAllowedToBeSent() |
int |
getMaxAgeInSeconds() |
boolean |
isAllowCookies() |
public Set<String> getAllowedOrigins()
getAllowedOrigins in interface StaticResourceCorsConfigpublic Set<String> getExtraHeadersAllowedToBeRead()
getExtraHeadersAllowedToBeRead in interface StaticResourceCorsConfigpublic Set<String> getExtraHeadersAllowedToBeSent()
getExtraHeadersAllowedToBeSent in interface StaticResourceCorsConfigpublic boolean isAllowCookies()
isAllowCookies in interface StaticResourceCorsConfigpublic int getMaxAgeInSeconds()
getMaxAgeInSeconds in interface StaticResourceCorsConfigCopyright © 2017. All rights reserved.