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

create

open static fun create(): StaticHandler

Create a handler using defaults

Return
the handler

open static fun create(root: String): StaticHandler

Create a handler, specifying web-root

Parameters

root - the web-root

Return
the handler

open static fun create(root: String, classLoader: ClassLoader): StaticHandler

Create a handler, specifying web-root and a classloader used to load the resources.

Parameters

root - the web-root

classLoader - the classloader used to load the resource

Return
the handler