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

FaviconHandler

open class FaviconHandler : Handler<RoutingContext>

A handler that serves favicons.

If no file system path is specified it will attempt to serve a resource called `favicon.ico` from the classpath.

NOTE: This class has been automatically generated from the io.vertx.ext.web.handler.FaviconHandler non RX-ified interface using Vert.x codegen.

Constructors

<init>

FaviconHandler(delegate: FaviconHandler)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<FaviconHandler>

Functions

create

open static fun create(): FaviconHandler

Create a handler with defaults

open static fun create(path: String): FaviconHandler

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

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

open static fun create(maxAgeSeconds: Long): FaviconHandler

Create a handler with the specified max cache time

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): FaviconHandler

handle

open fun handle(arg0: RoutingContext): Unit

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: FaviconHandler): FaviconHandler

toString

open fun toString(): String