Package de.otto.synapse.translator
Class AbstractTextDecoder<T>
java.lang.Object
de.otto.synapse.translator.AbstractTextDecoder<T>
- All Implemented Interfaces:
Decoder<T>,java.util.function.Function<T,TextMessage>
- Direct Known Subclasses:
TextDecoder
public abstract class AbstractTextDecoder<T> extends java.lang.Object implements Decoder<T>
-
Constructor Summary
Constructors Constructor Description AbstractTextDecoder() -
Method Summary
Modifier and Type Method Description protected TextMessagedecode(Key prototypeKey, Header prototypeHeader, java.lang.String body)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.Function
andThen, apply, compose
-
Constructor Details
-
AbstractTextDecoder
public AbstractTextDecoder()
-
-
Method Details
-
decode
-