Webjars

class Webjars

This feature listens to requests starting with the specified path prefix and responding with static content packaged into webjars. A WebJarAssetLocator is used to look for static files.

Types

Configuration

class Configuration

Feature configuration.

Feature

companion object Feature : 
    ApplicationFeature<ApplicationCallPipeline, Configuration, Webjars>

Feature installation companion.

Constructors

<init>

Webjars(configuration: Configuration)

Companion Object Properties

key

Unique key that identifies a feature

Companion Object Functions

install

fun install(
    pipeline: ApplicationCallPipeline,
    configure: Configuration.() -> Unit
): Webjars

Feature installation script