Package io.vertx.mutiny.ext.web.handler
Interface SecurityPolicyHandler
- All Superinterfaces:
Consumer<RoutingContext>
,io.vertx.core.Handler<RoutingContext>
,MutinyDelegate
- All Known Implementing Classes:
CorsHandler
,CSPHandler
,HSTSHandler
,XFrameHandler
public interface SecurityPolicyHandler
extends 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 Summary
Modifier and TypeMethodDescriptiondefault void
accept
(RoutingContext item) io.vertx.ext.web.handler.SecurityPolicyHandler
void
handle
(RoutingContext arg0) static SecurityPolicyHandler
newInstance
(io.vertx.ext.web.handler.SecurityPolicyHandler arg)
-
Method Details
-
getDelegate
io.vertx.ext.web.handler.SecurityPolicyHandler getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
handle
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
accept
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
-