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 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. addRelativeOrigin(String origin)
Add a relative origin to the list of allowed Origins.CorsHandler
CorsHandler. addRelativeOrigins(List<String> origins)
Set the list of allowed relative origins.CorsHandler
CorsHandler. allowCredentials(boolean allow)
Set whether credentials are allowed.CorsHandler
CorsHandler. allowedHeader(String headerName)
Add an allowed headerCorsHandler
CorsHandler. allowedHeaders(Set<String> headerNames)
Add a set of allowed headersCorsHandler
CorsHandler. allowedMethod(HttpMethod method)
Add an allowed methodCorsHandler
CorsHandler. allowedMethods(Set<HttpMethod> methods)
Add a set of allowed methodsCorsHandler
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.CorsHandler
CorsHandler. exposedHeader(String headerName)
Add an exposed headerCorsHandler
CorsHandler. exposedHeaders(Set<String> headerNames)
Add a set of exposed headersCorsHandler
CorsHandler. 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 CorsHandler
CorsHandler. getDelegate()
Methods in io.vertx.reactivex.ext.web.handler with parameters of type CorsHandler Modifier and Type Method Description static CorsHandler
CorsHandler. 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 CorsHandler
CorsHandler. getDelegate()
Methods in io.vertx.rxjava3.ext.web.handler with parameters of type CorsHandler Modifier and Type Method Description static CorsHandler
CorsHandler. newInstance(CorsHandler arg)
Constructors in io.vertx.rxjava3.ext.web.handler with parameters of type CorsHandler Constructor Description CorsHandler(CorsHandler delegate)
-