Interface Encoder<T>

Type Parameters:
T - the target type of the encoder
All Superinterfaces:
java.util.function.Function<Message<java.lang.String>,​T>
All Known Implementing Classes:
TextEncoder

public interface Encoder<T>
extends java.util.function.Function<Message<java.lang.String>,​T>
An Encoder IS-A Function that is encoding a text message into some target type, mostly used as an adapter to some sender-endpoint infrastructure.
  • Method Summary

    Methods inherited from interface java.util.function.Function

    andThen, apply, compose