HttpCheckContentType

enum HttpCheckContentType : Enum<HttpCheckContentType> , ConvertibleToJava<HttpCheckContentType>

The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.

Entries

Link copied to clipboard

No content type specified.

Link copied to clipboard

body is in URL-encoded form. Equivalent to setting the Content-Type to application/x-www-form-urlencoded in the HTTP request.

Link copied to clipboard

body is in custom_content_type form. Equivalent to setting the Content-Type to the contents of custom_content_type in the HTTP request.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): HttpCheckContentType
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: HttpCheckContentType
Link copied to clipboard
Link copied to clipboard