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

114 строки
6.3 KiB
YAML

### YamlMime:JavaEnum
uid: "com.azure.core.http.HttpMethod"
fullName: "com.azure.core.http.HttpMethod"
name: "HttpMethod"
nameWithType: "HttpMethod"
summary: "Represents the HTTP methods that can be used in a request."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html\">Enum</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-\">valueOf</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-\">compareTo</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#describeConstable--\">describeConstable</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--\">getDeclaringClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--\">name</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--\">ordinal</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--\">toString</a>"
- 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#getClass--\">getClass</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#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 enum **HttpMethod**</br> extends <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html\">Enum</a>&lt;<xref href=\"com.azure.core.http.HttpMethod?alt=com.azure.core.http.HttpMethod&text=HttpMethod\" data-throw-if-not-resolved=\"False\" />&gt;"
fields:
- uid: "com.azure.core.http.HttpMethod.CONNECT"
fullName: "com.azure.core.http.HttpMethod.CONNECT"
name: "CONNECT"
nameWithType: "HttpMethod.CONNECT"
summary: "The HTTP CONNECT method."
desc: "The HTTP CONNECT method."
- uid: "com.azure.core.http.HttpMethod.DELETE"
fullName: "com.azure.core.http.HttpMethod.DELETE"
name: "DELETE"
nameWithType: "HttpMethod.DELETE"
summary: "The HTTP DELETE method."
desc: "The HTTP DELETE method."
- uid: "com.azure.core.http.HttpMethod.GET"
fullName: "com.azure.core.http.HttpMethod.GET"
name: "GET"
nameWithType: "HttpMethod.GET"
summary: "The HTTP GET method."
desc: "The HTTP GET method."
- uid: "com.azure.core.http.HttpMethod.HEAD"
fullName: "com.azure.core.http.HttpMethod.HEAD"
name: "HEAD"
nameWithType: "HttpMethod.HEAD"
summary: "The HTTP HEAD method."
desc: "The HTTP HEAD method."
- uid: "com.azure.core.http.HttpMethod.OPTIONS"
fullName: "com.azure.core.http.HttpMethod.OPTIONS"
name: "OPTIONS"
nameWithType: "HttpMethod.OPTIONS"
summary: "The HTTP OPTIONS method."
desc: "The HTTP OPTIONS method."
- uid: "com.azure.core.http.HttpMethod.PATCH"
fullName: "com.azure.core.http.HttpMethod.PATCH"
name: "PATCH"
nameWithType: "HttpMethod.PATCH"
summary: "The HTTP PATCH method."
desc: "The HTTP PATCH method."
- uid: "com.azure.core.http.HttpMethod.POST"
fullName: "com.azure.core.http.HttpMethod.POST"
name: "POST"
nameWithType: "HttpMethod.POST"
summary: "The HTTP POST method."
desc: "The HTTP POST method."
- uid: "com.azure.core.http.HttpMethod.PUT"
fullName: "com.azure.core.http.HttpMethod.PUT"
name: "PUT"
nameWithType: "HttpMethod.PUT"
summary: "The HTTP PUT method."
desc: "The HTTP PUT method."
- uid: "com.azure.core.http.HttpMethod.TRACE"
fullName: "com.azure.core.http.HttpMethod.TRACE"
name: "TRACE"
nameWithType: "HttpMethod.TRACE"
summary: "The HTTP TRACE method."
desc: "The HTTP TRACE method."
methods:
- uid: "com.azure.core.http.HttpMethod.valueOf(java.lang.String)"
fullName: "com.azure.core.http.HttpMethod.valueOf(String name)"
name: "valueOf(String name)"
nameWithType: "HttpMethod.valueOf(String name)"
modifiers:
- "static"
parameters:
- name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static HttpMethod valueOf(String name)"
returns:
type: "<xref href=\"com.azure.core.http.HttpMethod?alt=com.azure.core.http.HttpMethod&text=HttpMethod\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.http.HttpMethod.values()"
fullName: "com.azure.core.http.HttpMethod.values()"
name: "values()"
nameWithType: "HttpMethod.values()"
modifiers:
- "static"
syntax: "public static HttpMethod[] values()"
returns:
type: "<xref href=\"com.azure.core.http.HttpMethod?alt=com.azure.core.http.HttpMethod&text=HttpMethod\" data-throw-if-not-resolved=\"False\" />[]"
desc: "Represents the HTTP methods that can be used in a request.\n\nThis enum encapsulates the HTTP methods that can be used in a request, such as GET, PUT, POST, PATCH, DELETE, HEAD, OPTIONS, TRACE, and CONNECT.\n\nThis enum is useful when you want to specify the HTTP method of a request. For example, you can use it when creating an instance of <xref uid=\"com.azure.core.http.HttpRequest\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpRequest\"></xref>.\n\nNote: The HTTP methods are defined by the HTTP/1.1 specification (RFC 2616) and the HTTP/2 specification (RFC 7540)."
metadata: {}
package: "com.azure.core.http"
artifact: com.azure:azure-core:1.52.0