- allowedMethods
Set the HTTP methods to allow, e.g. "GET", "POST", etc.The special value "*"
allows all methods.
By
- allowedOrigins
Set the origins to allow, e.g. "http://domain1.com".The special value "*" allows
all domains.
By de
- allowedHeaders
Set the list of headers that a pre-flight request can list as allowed for use
during an actual reque
- <init>
Create a new CorsRegistration that allows all origins, headers, and credentials
for GET, HEAD, and P
- allowCredentials
Whether user credentials are supported.By default this is set to true in which
case user credentials
- exposedHeaders
Set the list of response headers other than "simple" headers, i.e.
Cache-Control, Content-Language,
- getCorsConfiguration
- getPathPattern