http4k / org.http4k.core / Accept
data class Accept
Name | Summary |
---|---|
<init> | Accept(contentTypes: List < ContentType >, directives: Parameters ) |
Name | Summary |
---|---|
contentTypes | val contentTypes: List < ContentType > |
directives | val directives: Parameters |
Name | Summary |
---|---|
accepts | Note that the Accept header ignores CharSet because that is in a separate Accept-CharSet header..fun accepts(contentType: ContentType ): Boolean |