HttpMessage Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.HttpMessage

Implements

public final class HttpMessage
implements JsonSerializable<HttpMessage>

HTTP message.

Method Summary

Modifier and Type Method and Description
BinaryData content()

Get the content property: HTTP message content.

static HttpMessage fromJson(JsonReader jsonReader)

Reads an instance of HttpMessage from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

content

public BinaryData content()

Get the content property: HTTP message content.

Returns:

the content value.

fromJson

public static HttpMessage fromJson(JsonReader jsonReader)

Reads an instance of HttpMessage from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of HttpMessage if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the HttpMessage.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to