Sdílet prostřednictvím


HttpURLConnection.HttpUnauthorized Field

Definition

Caution

This constant will be removed in the future version. Use Java.Net.HttpStatus enum directly instead of this field.

HTTP Status-Code 401: Unauthorized.

[Android.Runtime.Register("HTTP_UNAUTHORIZED")]
[System.Obsolete("This constant will be removed in the future version. Use Java.Net.HttpStatus enum directly instead of this field.", true)]
public const Java.Net.HttpStatus HttpUnauthorized = 401;
[<Android.Runtime.Register("HTTP_UNAUTHORIZED")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Net.HttpStatus enum directly instead of this field.", true)>]
val mutable HttpUnauthorized : Java.Net.HttpStatus

Field Value

Value = 401
Attributes

Remarks

HTTP Status-Code 401: Unauthorized.

Java documentation for java.net.HttpURLConnection.HTTP_UNAUTHORIZED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to