public interface CORSConfiguration
CORSConfiguration
is the interface that need to be implemented in order hold the CORS configuration informationModifier and Type | Method and Description |
---|---|
String |
getAllowedHeaders()
Returns allowed headers in the configuration.
|
Set<String> |
getAllowedOrigins()
Returns allowed origins in the configuration.
|
boolean |
isEnabled()
Returns if CORS is enabled.
|
Set<String> getAllowedOrigins()
String getAllowedHeaders()
boolean isEnabled()
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.