Uses of Class
io.muserver.handlers.CORSHandlerBuilder
-
Packages that use CORSHandlerBuilder Package Description io.muserver.handlers Some pre-built handlers for common tasks such as file handling.io.muserver.rest This package contains the JAX-RS implementation for mu-server. -
-
Uses of CORSHandlerBuilder in io.muserver.handlers
Methods in io.muserver.handlers that return CORSHandlerBuilder Modifier and Type Method Description static CORSHandlerBuilderCORSHandlerBuilder. corsHandler()A helper for creating a CORS handlerCORSHandlerBuilderCORSHandlerBuilder. withAllowedMethods(Method... methods)Specifies the headers allowed for CORS requests.CORSHandlerBuilderCORSHandlerBuilder. withCORSConfig(CORSConfig corsConfig)Sets the CORS configuration for the handlerCORSHandlerBuilderCORSHandlerBuilder. withCORSConfig(CORSConfigBuilder corsConfig)Sets the CORS configuration for the handler -
Uses of CORSHandlerBuilder in io.muserver.rest
Methods in io.muserver.rest that return CORSHandlerBuilder Modifier and Type Method Description CORSHandlerBuilderCORSConfigBuilder. toHandler(Method... allowedMethods)Creates a CORS handler from this config.
-