acceptContentType

@Nullable
open fun acceptContentType(): @Nullable String

Return

configured accepted content type.

See also


open fun acceptContentType(@Nullable acceptContentType: @Nullable String): HandlerDefinition.Configurator

Set the acceptable content type when ingesting HTTP requests. Wildcards can be used, e.g. application / * or * / *.

Return

this