HttpMethod

enum HttpMethod : ProtocolMessageEnum
HTTP request method.
Protobuf enum elide.http.HttpMethod

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
HTTP CONNECT.
CONNECT = 9;
Link copied to clipboard
val DELETE_VALUE: Int = 4
HTTP DELETE.
DELETE = 4;
Link copied to clipboard
val GET_VALUE: Int = 1
HTTP GET.
GET = 1;
Link copied to clipboard
val HEAD_VALUE: Int = 6
HTTP HEAD.
HEAD = 6;
Link copied to clipboard
HTTP OPTIONS.
OPTIONS = 7;
Link copied to clipboard
val PATCH_VALUE: Int = 5
HTTP PATCH.
PATCH = 5;
Link copied to clipboard
val POST_VALUE: Int = 2
HTTP POST.
POST = 2;
Link copied to clipboard
val PUT_VALUE: Int = 3
HTTP PUT.
PUT = 3;
Link copied to clipboard
val TRACE_VALUE: Int = 8
HTTP TRACE.
TRACE = 8;
Link copied to clipboard
Unspecified HTTP method; this indicates a forward-incompatible value and should not be used by regular code.
UNSPECIFIED_METHOD = 0;

Functions

Link copied to clipboard
open fun forNumber(value: Int): HttpMethod
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<HttpMethod>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): HttpMethod
open fun valueOf(value: Int): HttpMethod

open fun valueOf(name: String): HttpMethod

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
open fun values(): Array<HttpMethod>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.