StaticFile

org.http4s.StaticFile
object StaticFile

Attributes

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

Members list

Value members

Concrete methods

Attributes

Source
StaticFile.scala
def fromPath[F[_] : LoggerFactory](f: Path, req: Option[Request[F]]): OptionT[F, Response[F]]

Attributes

Source
StaticFile.scala
def fromPath[F[_] : LoggerFactory](f: Path, req: Option[Request[F]], etagCalculator: Path => F[String]): OptionT[F, Response[F]]

Attributes

Source
StaticFile.scala
def fromPath[F[_] : LoggerFactory](f: Path, buffsize: Int, req: Option[Request[F]], etagCalculator: Path => F[String]): OptionT[F, Response[F]]

Attributes

Source
StaticFile.scala
def fromPath[F[_] : LoggerFactory](f: Path, start: Long, end: Long, buffsize: Int, req: Option[Request[F]], etagCalculator: Path => F[String])(implicit evidence$1: Files[F], evidence$2: LoggerFactory[F], F: MonadError[F, Throwable]): OptionT[F, Response[F]]

Attributes

Source
StaticFile.scala
def fromResource[F[_] : Sync](name: String, req: Option[Request[F]], preferGzipped: Boolean, classloader: Option[ClassLoader]): OptionT[F, Response[F]]

Attributes

Source
StaticFile.scala
def fromString[F[_] : LoggerFactory](url: String, req: Option[Request[F]]): OptionT[F, Response[F]]

Attributes

Source
StaticFile.scala
def fromURL[F[_]](url: URL, req: Option[Request[F]])(implicit F: Sync[F]): OptionT[F, Response[F]]

Attributes

Source
StaticFile.scala

Concrete fields

Attributes

Source
StaticFile.scala