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