vertx / io.vertx.ext.web.handler / StaticHandler / setHttp2PushMapping

setHttp2PushMapping

abstract fun setHttp2PushMapping(http2PushMappings: MutableList<Http2PushMapping>): StaticHandler

Set the file mapping for http2push and link preload

Parameters

http2PushMappings - the mapping for http2 push

Return
a reference to this, so the API can be used fluently