-
public final class DaroAdRequestThe built, transport-ready value (contract §6.4, D-D / req2).
Carries the canonical OrtbRequest (internal semantics), the canonical OpenRTB JsonValue tree, and ONE selected internal DaroWireAdRequest whose body was computed exactly once at build time. The network service sends
wire.bodyAS-IS — it never inspects canonical to choose an encoding and never re-runs canonical→compat serialization.req3 / D-E: this type is part of the public cross-module seam (default Kotlin visibility = public). canonical and wire stay
internalbecause external callers should not inspect or assemble outbound payloads. The primary constructor isinternal(it takes the internal OrtbRequest) so the builder is the only constructor — external code only receives a DaroAdRequest produced bybuild(...).
-
-
Field Summary
Fields Modifier and Type Field Description private final JsonValuecanonicalJsonprivate final StringtransportBodyprivate final StringtransportContentType
-
Method Summary
Modifier and Type Method Description final JsonValuegetCanonicalJson()final StringgetTransportBody()final StringgetTransportContentType()Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
getCanonicalJson
final JsonValue getCanonicalJson()
-
getTransportBody
final String getTransportBody()
-
getTransportContentType
final String getTransportContentType()
-
-
-
-