Add an origin to the list of allowed Origins. An origin follows rfc6454#section-7
and is expected to have the format:
Set the list of allowed origins. An origin follows rfc6454#section-7
and is expected to have the format:
Add a relative origin to the list of allowed Origins.
A relative origin is a regex that should match the format
.
Set the list of allowed relative origins.
A relative origin is a regex that should match the format
.
Set whether credentials are allowed. Note that user agents will block requests that use a wildcard as origin and include credentials.
From the MDN documentation you can read:
Important note: when responding to a credentialed request, server must specify a domain, and cannot use wild carding.
Set whether access from public to private networks are allowed. Defaults to false
Add an allowed header
Add a set of allowed headers
Add an allowed method
Add a set of allowed methods
Add an exposed header
Add a set of exposed headers
Set how long the browser should cache the information
Create a empty CORS handler that allows *
origin.
Generated using TypeDoc
A handler which implements server side http://www.w3.org/TR/cors/[CORS] support for Vert.x-Web.