Interface SecurityPolicyHandler

  • All Superinterfaces:
    io.vertx.core.Handler<RoutingContext>
    All Known Implementing Classes:
    CorsHandler, CSPHandler, HSTSHandler, XFrameHandler

    public interface SecurityPolicyHandler
    extends io.vertx.core.Handler<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 RX-ified interface using Vert.x codegen.

    • Method Detail

      • getDelegate

        io.vertx.ext.web.handler.SecurityPolicyHandler getDelegate()
      • handle

        void handle​(RoutingContext event)
        Something has happened, so handle it.
        Specified by:
        handle in interface io.vertx.core.Handler<RoutingContext>
        Parameters:
        event - the event to handle
      • newInstance

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