Skip to content

RumResourceMethod

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

enum RumResourceMethod : Enum<RumResourceMethod>

Describes the type of a method associated with resource call.

See also

RumMonitor

Entries

POST

POST

POST Method.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

GET

GET

GET Method.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

HEAD

HEAD

HEAD Method.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

PUT

PUT

PUT Method.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

DELETE

DELETE

DELETE Method.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

PATCH

PATCH

PATCH Method.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

TRACE

TRACE

TRACE Method.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

OPTIONS

OPTIONS

OPTIONS Method.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

CONNECT

CONNECT

CONNECT Method.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

Functions

valueOf

fun valueOf(value: String): RumResourceMethod

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.)

Throws
IllegalArgumentException if this enum type has no constant with the specified name

values

fun values(): Array<RumResourceMethod>

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.

Clone this wiki locally