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,SecurityPolicyHandler.SecurityPolicyHandlerImpl,XFrameHandler
public interface SecurityPolicyHandler
extends io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>, MutinyDelegate
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.
- Author:
- Paulo Lopes
- See Also:
-
SecurityPolicyHandler
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(RoutingContext item) Handle an item.io.vertx.ext.web.handler.SecurityPolicyHandlervoidhandle(RoutingContext item) Handle an item.static SecurityPolicyHandlernewInstance(io.vertx.ext.web.handler.SecurityPolicyHandler delegate) Creates a new instance of theSecurityPolicyHandler.
-
Method Details
-
accept
Handle an item. This method is generated from theoriginalmethod."- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
handle
Handle an item. This method is generated from theoriginalmethod."- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
getDelegate
io.vertx.ext.web.handler.SecurityPolicyHandler getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
newInstance
Creates a new instance of theSecurityPolicyHandler.
-