Uses of Interface
io.vertx.ext.web.handler.CorsHandler
-
Packages that use CorsHandler Package Description io.vertx.ext.web.handler io.vertx.reactivex.ext.web.handler io.vertx.rxjava3.ext.web.handler -
-
Uses of CorsHandler in io.vertx.ext.web.handler
Methods in io.vertx.ext.web.handler that return CorsHandler Modifier and Type Method Description CorsHandlerCorsHandler. addOrigin(String origin)Add an origin to the list of allowed Origins.CorsHandlerCorsHandler. addOrigins(List<String> origins)Set the list of allowed origins.CorsHandlerCorsHandler. addOriginsWithRegex(List<String> origins)Set the list of allowed regex origins.CorsHandlerCorsHandler. addOriginWithRegex(String origin)Add a regex origin to the list of allowed Origins.CorsHandlerCorsHandler. allowCredentials(boolean allow)Set whether credentials are allowed.CorsHandlerCorsHandler. allowedHeader(String headerName)Add an allowed headerCorsHandlerCorsHandler. allowedHeaders(Set<String> headerNames)Add a set of allowed headersCorsHandlerCorsHandler. allowedMethod(HttpMethod method)Add an allowed methodCorsHandlerCorsHandler. allowedMethods(Set<HttpMethod> methods)Add a set of allowed methodsCorsHandlerCorsHandler. allowPrivateNetwork(boolean allow)Set whether access from public to private networks are allowed.static CorsHandlerCorsHandler. create()Create a empty CORS handler that allows*origin.CorsHandlerCorsHandler. exposedHeader(String headerName)Add an exposed headerCorsHandlerCorsHandler. exposedHeaders(Set<String> headerNames)Add a set of exposed headersCorsHandlerCorsHandler. 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 CorsHandler Modifier and Type Method Description CorsHandlerCorsHandler. getDelegate()Methods in io.vertx.reactivex.ext.web.handler with parameters of type CorsHandler Modifier and Type Method Description static CorsHandlerCorsHandler. newInstance(CorsHandler arg)Constructors in io.vertx.reactivex.ext.web.handler with parameters of type CorsHandler Constructor Description CorsHandler(CorsHandler delegate) -
Uses of CorsHandler in io.vertx.rxjava3.ext.web.handler
Methods in io.vertx.rxjava3.ext.web.handler that return CorsHandler Modifier and Type Method Description CorsHandlerCorsHandler. getDelegate()Methods in io.vertx.rxjava3.ext.web.handler with parameters of type CorsHandler Modifier and Type Method Description static CorsHandlerCorsHandler. newInstance(CorsHandler arg)Constructors in io.vertx.rxjava3.ext.web.handler with parameters of type CorsHandler Constructor Description CorsHandler(CorsHandler delegate)
-