Interface CORS

All Known Implementing Classes:
CORS.Builder.CORSImpl

@Experimental("This API is currently experimental and might get changed") public sealed interface CORS permits CORS.Builder.CORSImpl
This class provides a way to configure the Quarkus cross-origin resource sharing (CORS) filter at the HTTP layer level.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    The Quarkus CORS filter configuration builder.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    Creates the CORS configuration builder.
    origins(Set<String> origins)
    Create a new CORS configuration builder with given origins.