payloadCodec

Return

the codec to apply to the payloads, after serializing them and before deserializing them. Payloads passed to and returned by this interface are always encoded.