HttpURLConnection.HttpMovedPerm 字段

定义

注意

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

HTTP 状态代码 301:永久移动。

[Android.Runtime.Register("HTTP_MOVED_PERM")]
[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 HttpMovedPerm = 301;
[<Android.Runtime.Register("HTTP_MOVED_PERM")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Net.HttpStatus enum directly instead of this field.", true)>]
val mutable HttpMovedPerm : Java.Net.HttpStatus

字段值

Value = 301
属性

注解

HTTP 状态代码 301:永久移动。

适用于 . 的 java.net.HttpURLConnection.HTTP_MOVED_PERMJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于