WebjarService
Attributes
- Source
- WebjarService.scala
- Graph
-
- Supertypes
- Self type
-
WebjarService.type
Members list
Type members
Classlikes
org.http4s.server.staticcontent.WebjarService configuration
org.http4s.server.staticcontent.WebjarService configuration
Value parameters
- cacheStrategy
-
strategy to use for caching purposes. Default to no caching.
- filter
-
To filter which assets from the webjars should be served
Attributes
- Source
- WebjarService.scala
- Supertypes
Contains the information about an asset inside a webjar
Contains the information about an asset inside a webjar
Value parameters
- asset
-
The asset name inside the webjar
- library
-
The webjar's library name
- version
-
The version of the webjar
Attributes
- Source
- WebjarService.scala
- Supertypes
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
Value parameters
- config
-
The configuration for this service
Attributes
- Returns
-
The HttpRoutes
- Deprecated
- true
- Source
- WebjarService.scala