EndpointMethods

enum EndpointMethods : ProtocolMessageEnum
Enumerates supported/known HTTP methods for app endpoints.
Protobuf enum elide.meta.EndpointMethods

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

Properties

Link copied to clipboard
val DELETE_VALUE: Int = 5
HTTP DELETE.
DELETE = 5;
Link copied to clipboard
val GET_VALUE: Int = 0
HTTP GET.
GET = 0;
Link copied to clipboard
val PATCH_VALUE: Int = 3
HTTP PATCH.
PATCH = 3;
Link copied to clipboard
val POST_VALUE: Int = 1
HTTP POST.
POST = 1;
Link copied to clipboard
val PUT_VALUE: Int = 2
HTTP PUT.
PUT = 2;

Functions

Link copied to clipboard
open fun forNumber(value: Int): EndpointMethods
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<EndpointMethods>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): EndpointMethods
open fun valueOf(value: Int): EndpointMethods

open fun valueOf(name: String): EndpointMethods

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

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.