URIFileContent

class URIFileContent(val uri: URI, val contentType: <Error class: unknown class> = ContentType.defaultForFilePath(uri.path), val contentLength: Long? = null)

Represents a content that is served from the specified uri

Constructors

Link copied to clipboard
constructor(url: URL, contentType: <Error class: unknown class> = ContentType.defaultForFilePath(url.path))
constructor(uri: URI, contentType: <Error class: unknown class> = ContentType.defaultForFilePath(uri.path), contentLength: Long? = null)

Properties

Link copied to clipboard
open val contentLength: Long? = null
Link copied to clipboard
open val contentType: <Error class: unknown class>
Link copied to clipboard
val uri: URI

that is used as a source

Functions

Link copied to clipboard