WebjarService

org.http4s.server.staticcontent.WebjarService$

Attributes

Source:
WebjarService.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

Attributes

cacheStrategy

strategy to use for caching purposes. Default to no caching.

filter

To filter which assets from the webjars should be served

Source:
WebjarService.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Contains the information about an asset inside a webjar

Contains the information about an asset inside a webjar

Attributes

asset

The asset name inside the webjar

library

The webjar's library name

version

The version of the webjar

Source:
WebjarService.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Types

A filter callback for Webjar asset It's a function that takes the WebjarAsset and returns whether or not the asset should be served to the client.

A filter callback for Webjar asset It's a function that takes the WebjarAsset and returns whether or not the asset should be served to the client.

Attributes

Source:
WebjarService.scala

Value members

Deprecated methods

Creates a new HttpRoutes that will filter the webjars

Creates a new HttpRoutes that will filter the webjars

Attributes

config

The configuration for this service

Returns:

The HttpRoutes

Deprecated
true
Source:
WebjarService.scala