|
aerogear-controller 1.0.0.M1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CorsConfiguration
Configuration for Cross-Origin Resource Sharing (CORS).
| Method Summary | |
|---|---|
boolean |
allowCookies()
Determines if cookies are supported. |
boolean |
anyOrigin()
Determines is any origin, "*", is supported. |
boolean |
exposeHeaders()
Determines if there are any headers configured to be exposed to calling clients. |
String |
getExposeHeaders()
Returns a comma separated string of headers to be exposed to calling clients. |
long |
getMaxAge()
Gets the maxAge setting. |
Set<String> |
getValidRequestHeaders()
Returns the allowed set of Request Headers. |
Set<String> |
getValidRequestMethods()
Returns the allowed set of Request Methods. |
boolean |
hasMaxAge()
Determines is maxAge has been configured. |
boolean |
isCorsSupportEnabled()
Determines is support for CORS is enabled. |
| Method Detail |
|---|
boolean isCorsSupportEnabled()
true if support for CORS is enabled, false otherwise.boolean exposeHeaders()
true if there are headers that should be exposed to clients.getExposeHeaders()String getExposeHeaders()
String a comma separated string of headers to be exposed.boolean anyOrigin()
true if any origin is allowed.boolean allowCookies()
true if cookies are supported.boolean hasMaxAge()
true if maxAge has been set.getMaxAge()long getMaxAge()
long the time in seconds that a preflight request may be cached.Set<String> getValidRequestMethods()
Set strings that represent the allowed Request Methods.Set<String> getValidRequestHeaders()
Set of strings that represent the allowed Request Headers.
|
aerogear-controller 1.0.0.M1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||