GoldenGateBindings / com.fitbit.goldengate.bindings.coap.data / OptionNumber

OptionNumber

enum class OptionNumber

Supported options that can be added to a coap message options

Note: For Internal use only, use Option and OutgoingRequestBuilder for creating coap request

Enum Values

IF_MATCH

The If-Match Option MAY be used to make a request conditional on the current existence or value of an ETag for one or more representations of the target resource.

ETAG

The request MAY include one or more ETag Options, identifying responses that the client has stored.

IF_NONE_MATCH

The If-None-Match Option MAY be used to make a request conditional on the nonexistence of the target resource.

LOCATION_PATH

The values of these options specify the location at which the resource was created. Otherwise, the resource was created at the request URI.

URI_PATH

Specifies one segment of the absolute path to the resource

CONTENT_FORMAT

The Content-Format Option indicates the representation format of the message payload.

MAX_AGE

Caches can use the Max-Age Option to determine freshness and (if present) the ETAG Option for validation

URI_QUERY

Specifies one argument parameterizing the resource.

ACCEPT

Can be used to indicate which Content-Format is acceptable to the client.

LOCATION_QUERY

The values of these options specify the location at which the resource was created. Otherwise, the resource was created at the request URI.

START_OFFSET

vendor-specific option number

Properties

value

val value: Short

Companion Object Functions

fromValue

fun fromValue(value: Short): OptionNumber

Create OptionNumber from given value