Interface SecurityPolicyHandler

All Superinterfaces:
Consumer<RoutingContext>, io.vertx.core.Handler<RoutingContext>, MutinyDelegate
All Known Implementing Classes:
CorsHandler, CSPHandler, HSTSHandler, SecurityPolicyHandler.SecurityPolicyHandlerImpl, XFrameHandler

public interface SecurityPolicyHandler extends io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>, MutinyDelegate
Base security policy interface for handlers that provide HTTP security related headers.

Sub-interfaces help you secure your applications by setting various HTTP headers. It's not a silver bullet, but it can help!

NOTE: This class has been automatically generated from the original non Mutiny-ified interface.

Author:
Paulo Lopes
See Also:
  • SecurityPolicyHandler
  • Method Details

    • accept

      void accept(RoutingContext item)
      Handle an item. This method is generated from the original method."
      Specified by:
      accept in interface Consumer<RoutingContext>
    • handle

      void handle(RoutingContext item)
      Handle an item. This method is generated from the original method."
      Specified by:
      handle in interface io.vertx.core.Handler<RoutingContext>
    • getDelegate

      io.vertx.ext.web.handler.SecurityPolicyHandler getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • newInstance

      static SecurityPolicyHandler newInstance(io.vertx.ext.web.handler.SecurityPolicyHandler delegate)
      Creates a new instance of the SecurityPolicyHandler.