Interface MessageCodec<T>
- Type Parameters:
T- value type handled by the codec
public interface MessageCodec<T>
Explicit, safe conversion between a plugin value and its wire representation.
-
Method Summary
-
Method Details
-
encode
-
decode
-
contentType
Identifies the encoded representation so subscribers can reject incompatible codecs.- Returns:
- MIME-style content type
-