Package io.vertx.rxjava.ext.web.handler
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!
original
non RX-ified interface using Vert.x codegen.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description io.vertx.ext.web.handler.SecurityPolicyHandler
getDelegate()
void
handle(RoutingContext event)
Something has happened, so handle it.static SecurityPolicyHandler
newInstance(io.vertx.ext.web.handler.SecurityPolicyHandler arg)
-
-
-
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 interfaceio.vertx.core.Handler<RoutingContext>
- Parameters:
event
- the event to handle
-
newInstance
static SecurityPolicyHandler newInstance(io.vertx.ext.web.handler.SecurityPolicyHandler arg)
-
-