toggle menu
http4k
LOCAL
jvm
switch theme
search in API
http4k-core
/
org.http4k.core
/
Accept
Accept
data
class
Accept
(
val
contentTypes
:
List
<
ContentType
>
,
val
directives
:
Parameters
)
Members
Constructors
Accept
Link copied to clipboard
constructor
(
contentTypes
:
List
<
ContentType
>
,
directives
:
Parameters
)
Properties
content
Types
Link copied to clipboard
val
contentTypes
:
List
<
ContentType
>
directives
Link copied to clipboard
val
directives
:
Parameters
Functions
accepts
Link copied to clipboard
fun
accepts
(
contentType
:
ContentType
)
:
Boolean
Note that the Accept header ignores CharSet because that is in a separate Accept-CharSet header..