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

73 строки
4.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.http.HttpAuthorization"
fullName: "com.azure.core.http.HttpAuthorization"
name: "HttpAuthorization"
nameWithType: "HttpAuthorization"
summary: "Represents the value of an HTTP Authorization header."
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 **HttpAuthorization**"
constructors:
- uid: "com.azure.core.http.HttpAuthorization.HttpAuthorization(java.lang.String,java.lang.String)"
fullName: "com.azure.core.http.HttpAuthorization.HttpAuthorization(String scheme, String parameter)"
name: "HttpAuthorization(String scheme, String parameter)"
nameWithType: "HttpAuthorization.HttpAuthorization(String scheme, String parameter)"
summary: "Constructs a new Http<wbr>Authorization instance."
parameters:
- description: "Scheme component of an authorization header value."
name: "scheme"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The credentials used for the authorization header value."
name: "parameter"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public HttpAuthorization(String scheme, String parameter)"
desc: "Constructs a new HttpAuthorization instance."
methods:
- uid: "com.azure.core.http.HttpAuthorization.getParameter()"
fullName: "com.azure.core.http.HttpAuthorization.getParameter()"
name: "getParameter()"
nameWithType: "HttpAuthorization.getParameter()"
summary: "Gets the credential of the authorization header."
syntax: "public String getParameter()"
desc: "Gets the credential of the authorization header."
returns:
description: "Credential of the authorization header."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.http.HttpAuthorization.getScheme()"
fullName: "com.azure.core.http.HttpAuthorization.getScheme()"
name: "getScheme()"
nameWithType: "HttpAuthorization.getScheme()"
summary: "Gets the scheme of the authorization header."
syntax: "public String getScheme()"
desc: "Gets the scheme of the authorization header."
returns:
description: "Scheme of the authorization header."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.http.HttpAuthorization.toString()"
fullName: "com.azure.core.http.HttpAuthorization.toString()"
name: "toString()"
nameWithType: "HttpAuthorization.toString()"
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "Represents the value of an HTTP Authorization header.\n\nThis class encapsulates the scheme and parameter of an HTTP Authorization header. The scheme represents the type of authorization being used, and the parameter represents the credentials used for the authorization.\n\nIt provides methods to access these properties. For example, you can use <xref uid=\"com.azure.core.http.HttpAuthorization.getScheme()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#getScheme()\"></xref> to get the scheme of the authorization header, and <xref uid=\"com.azure.core.http.HttpAuthorization.getParameter()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#getParameter()\"></xref> to get the credentials of the authorization header.\n\nThis class is useful when you want to work with the Authorization header of an HTTP request or response."
metadata: {}
package: "com.azure.core.http"
artifact: com.azure:azure-core:1.52.0