Class PayloadReaderImpl

  • All Implemented Interfaces:
    PayloadReader

    public class PayloadReaderImpl
    extends java.lang.Object
    implements PayloadReader
    Strategy for reading a payload object with optional compression
    • Constructor Summary

      Constructors 
      Constructor Description
      PayloadReaderImpl​(boolean uncompress, java.util.List<java.lang.String> elements)
      Public constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T extends Resource>
      T
      read​(java.lang.Class<T> resourceType, java.io.InputStream inputStream)
      Read the resource of type T from the InputStream.
      • Methods inherited from class java.lang.Object

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

      • PayloadReaderImpl

        public PayloadReaderImpl​(boolean uncompress,
                                 java.util.List<java.lang.String> elements)
        Public constructor
        Parameters:
        uncompress -
        elements -