- 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
- getCorsConfiguration
- getPathPattern
- maxAge
Configure how long in seconds the response from a pre-flight request can be
cached by clients.By def