Interface PayloadCodecProvider

All Known Implementing Classes:
CodecDataConverter, ExternalStorageDataConverter, TemporalTransferTypeDataConverter

public interface PayloadCodecProvider
Exposes the codec-only stage of value conversion without enabling automatic header processing.

The stage handles already serialized payloads, not application values, and must preserve one payload per header entry when used by opted-in tracing or context propagators. It must support serialization contexts.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the codec-only stage, or null if no codec is available.
  • Method Details

    • getPayloadCodec

      @Nullable PayloadCodec getPayloadCodec()
      Returns the codec-only stage, or null if no codec is available.