public class StaticResourceCorsConfig extends Object implements IStaticResourceCorsConfig
| Constructor and Description |
|---|
StaticResourceCorsConfig(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 IStaticResourceCorsConfigpublic Set<String> getExtraHeadersAllowedToBeRead()
getExtraHeadersAllowedToBeRead in interface IStaticResourceCorsConfigpublic Set<String> getExtraHeadersAllowedToBeSent()
getExtraHeadersAllowedToBeSent in interface IStaticResourceCorsConfigpublic boolean isAllowCookies()
isAllowCookies in interface IStaticResourceCorsConfigpublic int getMaxAgeInSeconds()
getMaxAgeInSeconds in interface IStaticResourceCorsConfigCopyright © 2016. All rights reserved.