### YamlMime:JavaType
uid: "com.azure.resourcemanager.resources.models.HttpMessage"
fullName: "com.azure.resourcemanager.resources.models.HttpMessage"
name: "HttpMessage"
nameWithType: "HttpMessage"
summary: "HTTP message."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **HttpMessage** implements <>"
constructors:
- uid: "com.azure.resourcemanager.resources.models.HttpMessage.HttpMessage()"
fullName: "com.azure.resourcemanager.resources.models.HttpMessage.HttpMessage()"
name: "HttpMessage()"
nameWithType: "HttpMessage.HttpMessage()"
summary: "Creates an instance of HttpMessage class."
syntax: "public HttpMessage()"
desc: "Creates an instance of HttpMessage class."
methods:
- uid: "com.azure.resourcemanager.resources.models.HttpMessage.content()"
fullName: "com.azure.resourcemanager.resources.models.HttpMessage.content()"
name: "content()"
nameWithType: "HttpMessage.content()"
summary: "Get the content property: HTTP message content."
syntax: "public Object content()"
desc: "Get the content property: HTTP message content."
returns:
description: "the content value."
type: "Object"
- uid: "com.azure.resourcemanager.resources.models.HttpMessage.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.resources.models.HttpMessage.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "HttpMessage.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of HttpMessage from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static HttpMessage fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the HttpMessage."
type: "IOException"
desc: "Reads an instance of HttpMessage from the JsonReader."
returns:
description: "An instance of HttpMessage if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: ""
- uid: "com.azure.resourcemanager.resources.models.HttpMessage.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.resources.models.HttpMessage.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "HttpMessage.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.resources.models.HttpMessage.validate()"
fullName: "com.azure.resourcemanager.resources.models.HttpMessage.validate()"
name: "validate()"
nameWithType: "HttpMessage.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.resources.models.HttpMessage.withContent(java.lang.Object)"
fullName: "com.azure.resourcemanager.resources.models.HttpMessage.withContent(Object content)"
name: "withContent(Object content)"
nameWithType: "HttpMessage.withContent(Object content)"
summary: "Set the content property: HTTP message content."
parameters:
- description: "the content value to set."
name: "content"
type: "Object"
syntax: "public HttpMessage withContent(Object content)"
desc: "Set the content property: HTTP message content."
returns:
description: "the HttpMessage object itself."
type: ""
type: "class"
desc: "HTTP message."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.resources.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-resources:2.44.0