Package io.vertx.mutiny.ext.web.handler
Interface SecurityPolicyHandler
-
- All Superinterfaces:
Consumer<RoutingContext>
,io.vertx.core.Handler<RoutingContext>
- All Known Implementing Classes:
CorsHandler
,CSPHandler
,HSTSHandler
,XFrameHandler
public interface SecurityPolicyHandler extends 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!
original
non Mutiny-ified interface using Vert.x codegen.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
accept(RoutingContext item)
io.vertx.ext.web.handler.SecurityPolicyHandler
getDelegate()
void
handle(RoutingContext arg0)
static SecurityPolicyHandler
newInstance(io.vertx.ext.web.handler.SecurityPolicyHandler arg)
-
-
-
Method Detail
-
getDelegate
io.vertx.ext.web.handler.SecurityPolicyHandler getDelegate()
-
handle
void handle(RoutingContext arg0)
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
accept
default void accept(RoutingContext item)
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
static SecurityPolicyHandler newInstance(io.vertx.ext.web.handler.SecurityPolicyHandler arg)
-
-