Source

trait Source extends Writable

A source of bytes; must provide either an InputStream or a SeekableByteChannel to read from. Can be constructed implicitly from strings, byte arrays, inputstreams, channels or file paths

Companion:
object
trait Writable
class Object
trait Matchable
class Any

Value members

Abstract methods

def getHandle(): Either[Writable, SeekableByteChannel]

Concrete methods

override def httpContentType: Option[String]
Definition Classes
Writable
def writeBytesTo(out: OutputStream): Unit
def writeBytesTo(out: WritableByteChannel): AnyVal

Inherited methods

def contentLength: Option[Long]
Inherited from:
Writable