## Uses of Class
io.vertx.reactivex.ext.web.handler.CorsHandler

- Packages that use CorsHandler
  Package | Description
  --- | ---
  io.vertx.reactivex.ext.web.handler |

- - ### Uses of CorsHandler in io.vertx.reactivex.ext.web.handler

    Fields in io.vertx.reactivex.ext.web.handler with type parameters of type CorsHandler
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<CorsHandler>` | CorsHandler.`__TYPE_ARG`

    Methods in io.vertx.reactivex.ext.web.handler that return CorsHandler
    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
    `CorsHandler` | CorsHandler.`allowPrivateNetwork(boolean allow)` Set whether access from public to private networks are allowed.
    `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 © 2022 Eclipse. All rights reserved.