APR class
API Request - one normalized request and its serving decision.
Properties
- ACCEPT → aprRepresentation
-
Representation the client accepts.
no setter
-
BODY
→ List<
int> ? -
Request body verbatim, when the route uses it and it is not already
expressed as SELECTION.
no setter
- CALLER_ID → String?
-
Identity of the authenticated caller (a peer identifier or account),
when the gateway authenticated one.
no setter
- callerId → String?
-
no setter
- CONTENT_TYPE → String?
-
Media type of BODY as the client declared it, e.g. "application/sql".
no setter
- contentType → String?
-
no setter
- ERROR_CODE → String?
-
Stable machine-readable reason for STATUS, e.g. "missing-sql",
"method-not-allowed"; empty when STATUS is 0.
no setter
- ERROR_MESSAGE → String?
-
Human-readable detail for STATUS.
no setter
- errorCode → String?
-
no setter
- errorMessage → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- IF_MODIFIED_SINCE_MS → int
-
Unix milliseconds of the client's copy (HTTP If-Modified-Since); 0 =
none.
no setter
- IF_NONE_MATCH → String?
-
Entity tag the client already holds (HTTP If-None-Match), verbatim; the
service answers "not modified" when its current tag equals it.
no setter
- ifModifiedSinceMs → int
-
no setter
- ifNoneMatch → String?
-
no setter
- METHOD → aprMethod
-
no setter
-
PARAMETERS
→ List<
APRParameter> ? -
Request parameters, in the order received. A parameter the service
defaults is absent rather than empty.
no setter
- PATH → String?
-
Path of the request as received, without the query string, e.g.
"/api/v1/data/omm/bulk".
no setter
- RECEIVED_AT_MS → int
-
Unix milliseconds when the gateway received the request; 0 = unknown.
no setter
- receivedAtMs → int
-
no setter
- REQUEST_ID → String?
-
Identifier of the request, unique within the gateway (for correlating
logs and answers); empty when the gateway does not assign one.
no setter
- requestId → String?
-
no setter
-
RESPONSE_HEADERS
→ List<
APRParameter> ? -
Headers a serving stage asks the answer to carry, e.g. "cache-control",
"last-modified", "content-disposition" (name lower-case).
no setter
-
responseHeaders
→ List<
APRParameter> ? -
no setter
- ROUTE → String?
-
The gateway's routing decision: the stable name of the operation that
serves the request, e.g. "bulk", "query", "status", "activity",
"peer_get". Empty when no route matched (STATUS then says why).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- SCHEMA_NAME → String?
-
Standard the request selects, as its schema file name, e.g. "OMM.fbs";
empty when the route is not about one standard.
no setter
- schemaName → String?
-
no setter
- SELECTION → String?
-
Selection text the request carries in its body, when the route takes
one: an SQL statement, a search expression or a command line.
no setter
- STATUS → int
-
Outcome to answer with when the request is refused or failed, as an HTTP
status (400 bad request, 404 no route, 405 method not allowed, 503
unavailable, ...); 0 while the request is being served normally.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited