Package 

Class CorsPlugin

  • All Implemented Interfaces:

    
    public final class CorsPlugin
    extends Plugin<CorsPluginConfig>
                        

    The CORS plugin bundles the functionality to set CORS headers for some or all origins as required.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit onStart(JavalinConfig config) Called when the plugin is applied to the Javalin instance.
      • Methods inherited from class io.javalin.plugin.Plugin

        name, onInitialize, priority, repeatable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait