FileContent

spice.http.content.FileContent
case class FileContent(file: File, contentType: ContentType, lastModifiedOverride: Option[Long]) extends Content

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Content
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def asStream: Stream[IO, Byte]

Attributes

Definition Classes
override def asString: String

Attributes

Definition Classes
override def lastModified: Long

Attributes

Definition Classes
override def length: Long

Attributes

Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
override def withContentType(contentType: ContentType): Content

Attributes

Definition Classes
override def withLastModified(lastModified: Long): Content

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product