aprMethod enum

API Request (APR) Description One request received by a service endpoint, in normalized form, together with the decision of how to serve it. A gateway (an HTTP server, a message broker bridge, a command interface) parses whatever arrived on the wire into an APR once; every later stage reads the APR instead of re-parsing the transport. The same record carries the gateway's routing decision (ROUTE), the request's selection parameters, its conditional-request validator, the representation the client accepts, and, when the gateway or a later stage refuses the request, the status and reason the client must be answered with.

An APR is transport-neutral: METHOD and STATUS follow HTTP semantics because they are the common vocabulary, but nothing in the record requires HTTP. A stage that serves the request passes the APR on unchanged beside its answer, or with STATUS and ERROR set when it cannot serve it, so the stage that writes the response always has both the request and the outcome. Request method, HTTP semantics. Append new values only; never reorder or reuse existing values.

Inheritance
Available extensions

Values

Unspecified → const aprMethod
const aprMethod(0)
GET → const aprMethod
const aprMethod(1)
const aprMethod(2)
POST → const aprMethod
const aprMethod(3)
PUT → const aprMethod
const aprMethod(4)
PATCH → const aprMethod
const aprMethod(5)
DELETE → const aprMethod
const aprMethod(6)
OPTIONS → const aprMethod
const aprMethod(7)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

maxValue → const int
minValue → const int
reader → const Reader<aprMethod>
values → const List<aprMethod>
A constant List of the values in this enum, in order of their declaration.