http4k / org.http4k.routing.experimental / URLResource
data class URLResource :
Resource
Name | Summary |
---|---|
<init> | URLResource(url: URL , contentType: ContentType , lastModified: Instant ? = null) |
Name | Summary |
---|---|
contentType | val contentType: ContentType |
lastModified | val lastModified: Instant ? |
url | val url: URL |
Name | Summary |
---|---|
openStream | fun openStream(): InputStream |