toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-incubator
/
org.http4k.routing.experimental
/
URLResource
URLResource
data
class
URLResource
(
val
url
:
URL
,
val
contentType
:
ContentType
,
val
lastModified
:
Instant
?
=
null
)
:
Resource
Members
Constructors
URLResource
Link copied to clipboard
constructor
(
url
:
URL
,
contentType
:
ContentType
,
lastModified
:
Instant
?
=
null
)
Properties
content
Type
Link copied to clipboard
open
override
val
contentType
:
ContentType
etag
Link copied to clipboard
open
val
etag
:
ETag
?
headers
Link copied to clipboard
open
val
headers
:
Headers
last
Modified
Link copied to clipboard
open
override
val
lastModified
:
Instant
?
=
null
length
Link copied to clipboard
open
val
length
:
Long
?
url
Link copied to clipboard
val
url
:
URL
Functions
invoke
Link copied to clipboard
open
operator override
fun
invoke
(
request
:
Request
)
:
MemoryResponse
is
Modified
Since
Link copied to clipboard
open
fun
isModifiedSince
(
instant
:
Instant
)
:
Boolean
open
Stream
Link copied to clipboard
open
override
fun
openStream
(
)
:
InputStream