Uses of Interface
io.vertx.ext.web.handler.CorsHandler
Packages that use CorsHandler
Package
Description
-
Uses of CorsHandler in io.vertx.ext.web.handler
Methods in io.vertx.ext.web.handler that return CorsHandlerModifier and TypeMethodDescriptionAdd an origin to the list of allowed Origins.CorsHandler.addOrigins(List<String> origins) Set the list of allowed origins.CorsHandler.addOriginsWithRegex(List<String> origins) Set the list of allowed regex origins.CorsHandler.addOriginWithRegex(String origin) Add a regex origin to the list of allowed Origins.CorsHandler.allowCredentials(boolean allow) Set whether credentials are allowed.CorsHandler.allowedHeader(String headerName) Add an allowed headerCorsHandler.allowedHeaders(Set<String> headerNames) Add a set of allowed headersCorsHandler.allowedMethod(HttpMethod method) Add an allowed methodCorsHandler.allowedMethods(Set<HttpMethod> methods) Add a set of allowed methodsCorsHandler.allowPrivateNetwork(boolean allow) Set whether access from public to private networks are allowed.static CorsHandlerCorsHandler.create()Create a empty CORS handler that allows*origin.CorsHandler.exposedHeader(String headerName) Add an exposed headerCorsHandler.exposedHeaders(Set<String> headerNames) Add a set of exposed headersCorsHandler.maxAgeSeconds(int maxAgeSeconds) Set how long the browser should cache the information -
Uses of CorsHandler in io.vertx.reactivex.ext.web.handler
Methods in io.vertx.reactivex.ext.web.handler that return CorsHandlerMethods in io.vertx.reactivex.ext.web.handler with parameters of type CorsHandlerConstructors in io.vertx.reactivex.ext.web.handler with parameters of type CorsHandler -
Uses of CorsHandler in io.vertx.rxjava3.ext.web.handler
Methods in io.vertx.rxjava3.ext.web.handler that return CorsHandlerMethods in io.vertx.rxjava3.ext.web.handler with parameters of type CorsHandlerConstructors in io.vertx.rxjava3.ext.web.handler with parameters of type CorsHandler