azure-docs-sdk-java/docs-ref-autogen/com.azure.core.http.Content...

69 строки
3.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.http.ContentType"
fullName: "com.azure.core.http.ContentType"
name: "ContentType"
nameWithType: "ContentType"
summary: "This class provides constants for commonly used Content-Type header values in HTTP requests and responses."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **ContentType**"
fields:
- uid: "com.azure.core.http.ContentType.APPLICATION_JSON"
fullName: "com.azure.core.http.ContentType.APPLICATION_JSON"
name: "APPLICATION_JSON"
nameWithType: "ContentType.APPLICATION_JSON"
summary: "the default JSON Content-Type header."
modifiers:
- "static"
- "final"
field:
value: "application/json"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static final String APPLICATION_JSON"
desc: "the default JSON Content-Type header."
- uid: "com.azure.core.http.ContentType.APPLICATION_OCTET_STREAM"
fullName: "com.azure.core.http.ContentType.APPLICATION_OCTET_STREAM"
name: "APPLICATION_OCTET_STREAM"
nameWithType: "ContentType.APPLICATION_OCTET_STREAM"
summary: "the default binary Content-Type header."
modifiers:
- "static"
- "final"
field:
value: "application/octet-stream"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static final String APPLICATION_OCTET_STREAM"
desc: "the default binary Content-Type header."
- uid: "com.azure.core.http.ContentType.APPLICATION_X_WWW_FORM_URLENCODED"
fullName: "com.azure.core.http.ContentType.APPLICATION_X_WWW_FORM_URLENCODED"
name: "APPLICATION_X_WWW_FORM_URLENCODED"
nameWithType: "ContentType.APPLICATION_X_WWW_FORM_URLENCODED"
summary: "The default form data Content-Type header."
modifiers:
- "static"
- "final"
field:
value: "application/x-www-form-urlencoded"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static final String APPLICATION_X_WWW_FORM_URLENCODED"
desc: "The default form data Content-Type header."
type: "class"
desc: "This class provides constants for commonly used Content-Type header values in HTTP requests and responses.\n\nThis class is useful when you need to specify the Content-Type header in an HTTP request or check the Content-Type header in an HTTP response."
metadata: {}
package: "com.azure.core.http"
artifact: com.azure:azure-core:1.52.0