Compartilhar via


HttpURLConnection.HttpBadMethod 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 405: Method Not Allowed.

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

Field Value

Value = 405
Attributes

Remarks

HTTP Status-Code 405: Method Not Allowed.

Java documentation for java.net.HttpURLConnection.HTTP_BAD_METHOD.

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