vertx / io.vertx.reactivex.ext.web.handler / FaviconHandler / create

create

open static fun create(): FaviconHandler

Create a handler with defaults

Return
the handler

open static fun create(path: String): FaviconHandler

Create a handler attempting to load favicon file from the specified path

Parameters

path - the path

Return
the handler

open static fun create(path: String, maxAgeSeconds: Long): FaviconHandler

Create a handler attempting to load favicon file from the specified path, and with the specified max cache time

Parameters

path - the path

maxAgeSeconds - max how long the file will be cached by browser, in seconds

Return
the handler

open static fun create(maxAgeSeconds: Long): FaviconHandler

Create a handler with the specified max cache time

Parameters

maxAgeSeconds - max how long the file will be cached by browser, in seconds

Return
the handler