toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-incubator
/
org.http4k.routing.experimental
/
Resource
Resource
interface
Resource
:
Function1
<
request
:
Request
,
Response
>
Inheritors
InMemoryResource
URLResource
Members
Properties
content
Type
Link copied to clipboard
open
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
val
lastModified
:
Instant
?
length
Link copied to clipboard
open
val
length
:
Long
?
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
abstract
fun
openStream
(
)
:
InputStream