Interface SecurityPolicyHandler

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

public interface SecurityPolicyHandler extends io.smallrye.mutiny.vertx.MutinyDelegate, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
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 using Vert.x codegen.

  • Method Details

    • getDelegate

      io.vertx.ext.web.handler.SecurityPolicyHandler getDelegate()
      Specified by:
      getDelegate in interface io.smallrye.mutiny.vertx.MutinyDelegate
    • handle

      void handle(RoutingContext arg0)
      Specified by:
      handle in interface io.vertx.core.Handler<RoutingContext>
    • accept

      default void accept(RoutingContext item)
      Specified by:
      accept in interface Consumer<RoutingContext>
    • newInstance

      static SecurityPolicyHandler newInstance(io.vertx.ext.web.handler.SecurityPolicyHandler arg)