HttpURLConnection.HttpUnauthorized 字段

定义

注意

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

HTTP Status-Code 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)]
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

字段值

Value = 401
属性

注解

HTTP Status-Code 401:未经授权。

Java文档java.net.HttpURLConnection.HTTP_UNAUTHORIZED

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于