RawApiRequest class
Beschreibt einen einzelnen RawApi-Request, bevor er gegen den internen Runtime ausgeführt wird.
Diese Klasse ist ein reiner, unveränderlicher Werteträger. Die eigentliche
Pfadvalidierung (relativ, keine eigene Versions-/Alias-Präfix) übernimmt
RawApi selbst.
Constructors
-
RawApiRequest({required ApiVersion version, required ApiHttpMethod method, required String path, Map<
String, String> ? queryParameters, String? body, String? contentType, Map<String, String> ? headers}) -
const
Properties
- body → String?
-
Optionaler Request-Body.
final
- contentType → String?
-
Optionaler Content-Type; falls nicht gesetzt, verwendet der Runtime
den Standard
application/json; charset=utf-8.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> ? -
Zusätzliche Header, die die Standard-Header des Runtime überschreiben
können.
final
- method → ApiHttpMethod
-
HTTP-Methode der Anfrage.
final
- path → String
-
Pfad relativ zur konfigurierten DOCUframe-API (ohne eigenes
Versions- oder Alias-Präfix).
final
-
queryParameters
→ Map<
String, String> ? -
Optionale Query-Parameter.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → ApiVersion
-
API-Version, die das URL-Präfix (
v1/v2) bestimmt.final
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