HttpMessage Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. HttpMessage
- com.
Implements
public final class HttpMessage
implements JsonSerializable<HttpMessage>
HTTP message.
Constructor Summary
Constructor | Description |
---|---|
HttpMessage() |
Creates an instance of Http |
Method Summary
Modifier and Type | Method and Description |
---|---|
Object |
content()
Get the content property: HTTP message content. |
static
Http |
fromJson(JsonReader jsonReader)
Reads an instance of Http |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Http |
withContent(Object content)
Set the content property: HTTP message content. |
Methods inherited from java.lang.Object
Constructor Details
HttpMessage
public HttpMessage()
Creates an instance of HttpMessage class.
Method Details
content
public Object content()
Get the content property: HTTP message content.
Returns:
fromJson
public static HttpMessage fromJson(JsonReader jsonReader)
Reads an instance of HttpMessage from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withContent
public HttpMessage withContent(Object content)
Set the content property: HTTP message content.
Parameters:
Returns:
Applies to
Azure SDK for Java