FileService

org.http4s.server.staticcontent.FileService
object FileService

Attributes

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

Members list

Type members

Classlikes

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

Companion
object
Source
FileService.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Config

Attributes

Companion
class
Source
FileService.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Config.type

Types

Attributes

Source
FileService.scala

Deprecated types

type PathCollector[F[_]] = (File, Config[F], Request[F]) => OptionT[F, Response[F]]

Attributes

Deprecated
true
Source
FileService.scala