PredefinedContentTypesDsl

Interface that contains standard content types.

This interface is "implemented" (although nothing in it is abstract) by other DSL interfaces when they wish for users to have directly access to utilities like xml, json...

Properties

Link copied to clipboard
open val form: ContentType

ContentType object for application/x-www-form-urlencoded

Link copied to clipboard
open val json: ContentType

ContentType object for application/json

Link copied to clipboard

ContentType object for text/plain

Link copied to clipboard
open val xml: ContentType

ContentType object for application/xml

Inheritors

Link copied to clipboard