Class HttpObjectCodecFactory.Adapter

    • Constructor Summary

      Constructors 
      Constructor Description
      Adapter​(ch.raffael.meldioc.library.codec.ObjectCodecFactory factory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> io.vavr.control.Option<HttpDecoder<java.lang.Object,​? extends T>> decoder​(java.lang.Class<T> type)  
      <T> io.vavr.control.Option<HttpEncoder<java.lang.Object,​? super T>> encoder​(java.lang.Class<T> type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Adapter

        public Adapter​(ch.raffael.meldioc.library.codec.ObjectCodecFactory factory)
    • Method Detail

      • encoder

        public <T> io.vavr.control.Option<HttpEncoder<java.lang.Object,​? super T>> encoder​(java.lang.Class<T> type)
        Specified by:
        encoder in interface HttpObjectCodecFactory<java.lang.Object>
      • decoder

        public <T> io.vavr.control.Option<HttpDecoder<java.lang.Object,​? extends T>> decoder​(java.lang.Class<T> type)
        Specified by:
        decoder in interface HttpObjectCodecFactory<java.lang.Object>