Package | Description |
---|---|
io.vertx.rxjava.ext.web.handler |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<CorsHandler> |
CorsHandler.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
CorsHandler |
CorsHandler.addOrigin(String origin)
Add an origin to the list of allowed Origins.
|
CorsHandler |
CorsHandler.addOrigins(List<String> origins)
Set the list of allowed origins.
|
CorsHandler |
CorsHandler.allowCredentials(boolean allow)
Set whether credentials are allowed.
|
CorsHandler |
CorsHandler.allowedHeader(String headerName)
Add an allowed header
|
CorsHandler |
CorsHandler.allowedHeaders(Set<String> headerNames)
Add a set of allowed headers
|
CorsHandler |
CorsHandler.allowedMethod(HttpMethod method)
Add an allowed method
|
CorsHandler |
CorsHandler.allowedMethods(Set<HttpMethod> methods)
Add a set of allowed methods
|
static CorsHandler |
CorsHandler.create()
Create a empty CORS handler that allows
* origin. |
static CorsHandler |
CorsHandler.create(String allowedOriginPattern)
Create a CORS handler using a regular expression to match origins.
|
CorsHandler |
CorsHandler.exposedHeader(String headerName)
Add an exposed header
|
CorsHandler |
CorsHandler.exposedHeaders(Set<String> headerNames)
Add a set of exposed headers
|
CorsHandler |
CorsHandler.maxAgeSeconds(int maxAgeSeconds)
Set how long the browser should cache the information
|
static CorsHandler |
CorsHandler.newInstance(CorsHandler arg) |
Copyright © 2021 Eclipse. All rights reserved.