Attributes
- Companion
- class
- Source
- FileService.scala
- Graph
-
- Supertypes
- Self type
-
Config.type
Members list
Type members
Inherited types
The names of the product elements
The name of the type
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- FileServiceConfigCompanionCompat (hidden)
- Source
- FileServiceConfigCompat.scala
Value members
Concrete methods
Creates an instance of org.http4s.server.staticcontent.FileService configuration.
Creates an instance of org.http4s.server.staticcontent.FileService configuration.
Value parameters
- bufferSize
-
buffer size to use for internal read buffers
- cacheStrategy
-
strategy to use for caching purposes. Default to no caching.
- fs2PathCollector
-
function that performs the work of collecting the file or rendering the directory into a response.
- pathPrefix
-
prefix of Uri from which content will be served
- systemPath
-
path prefix to the folder from which content will be served
Attributes
- Source
- FileService.scala
Attributes
- Source
- FileService.scala
Deprecated methods
Creates an instance of org.http4s.server.staticcontent.FileService configuration. A constructor that accepts PathCollector[F] for binary compatibility.
Creates an instance of org.http4s.server.staticcontent.FileService configuration. A constructor that accepts PathCollector[F] for binary compatibility.
Value parameters
- bufferSize
-
buffer size to use for internal read buffers
- cacheStrategy
-
strategy to use for caching purposes. Default to no caching.
- pathCollector
-
function that performs the work of collecting the file or rendering the directory into a response.
- pathPrefix
-
prefix of Uri from which content will be served
- systemPath
-
path prefix to the folder from which content will be served
Attributes
- Deprecated
- true
- Source
- FileService.scala
Attributes
- Deprecated
- true
- Source
- FileService.scala
Deprecated and Inherited methods
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Deprecated
- true
- Inherited from:
- FileServiceConfigCompanionCompat (hidden)
- Source
- FileServiceConfigCompat.scala
Attributes
- Deprecated
- true
- Inherited from:
- FileServiceConfigCompanionCompat (hidden)
- Source
- FileServiceConfigCompat.scala