Class DeliveryReplayParams
-
- All Implemented Interfaces:
-
dev.case.api.core.Params
public final class DeliveryReplayParams implements Params
Re-sends the original event to its endpoint. The payload is reconstructed from the delivery record (same eventId, eventType, and occurred_at). Replay deliveries include a Case.dev replay marker header so receivers can distinguish replays from first-time deliveries. Uses the endpoint's current signing secret — not the one in force at the original delivery time.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDeliveryReplayParams.BuilderA builder for DeliveryReplayParams.
public final classDeliveryReplayParams.Body
-
Method Summary
Modifier and Type Method Description final Optional<String>id()final JsonValue_payload()Override payload to deliver. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final DeliveryReplayParams.BuildertoBuilder()final DeliveryReplayParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static DeliveryReplayParamsnone()final static DeliveryReplayParams.Builderbuilder()Returns a mutable builder for constructing an instance of DeliveryReplayParams. -
-
Method Detail
-
_payload
final JsonValue _payload()
Override payload to deliver. Must only be supplied when the delivery record lacks enough context to reconstruct the original event (rare). Defaults to an empty data envelope.
This arbitrary value can be deserialized into a custom type using the
convertmethod:MyClass myObject = deliveryReplayParams.payload().convert(MyClass.class);
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final DeliveryReplayParams.Builder toBuilder()
-
_body
final DeliveryReplayParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
none
final static DeliveryReplayParams none()
-
builder
final static DeliveryReplayParams.Builder builder()
Returns a mutable builder for constructing an instance of DeliveryReplayParams.
-
-
-
-