Class MappingEventReader<T>

  • All Implemented Interfaces:
    EventReader<T>

    public class MappingEventReader<T>
    extends java.lang.Object
    implements EventReader<T>
    • Constructor Summary

      Constructors 
      Constructor Description
      MappingEventReader​(java.lang.Class<T> eventClass, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void onMappingException​(com.fasterxml.jackson.databind.JsonMappingException exception)  
      java.util.List<T> read​(com.fasterxml.jackson.core.JsonParser jsonParser)  
      • Methods inherited from class java.lang.Object

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

      • MappingEventReader

        public MappingEventReader​(java.lang.Class<T> eventClass,
                                  com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • read

        public java.util.List<T> read​(com.fasterxml.jackson.core.JsonParser jsonParser)
                               throws java.io.IOException
        Specified by:
        read in interface EventReader<T>
        Throws:
        java.io.IOException
      • onMappingException

        protected void onMappingException​(com.fasterxml.jackson.databind.JsonMappingException exception)
                                   throws java.io.IOException
        Throws:
        java.io.IOException