Class StreamSourceCache

  • All Implemented Interfaces:
    Source, org.apache.camel.StreamCache

    public final class StreamSourceCache
    extends StreamSource
    implements org.apache.camel.StreamCache
    A StreamCache for StreamSources
    • Constructor Detail

      • StreamSourceCache

        public StreamSourceCache​(org.apache.camel.StreamCache streamCache)
    • Method Detail

      • reset

        public void reset()
        Specified by:
        reset in interface org.apache.camel.StreamCache
      • copy

        public org.apache.camel.StreamCache copy​(org.apache.camel.Exchange exchange)
                                          throws IOException
        Specified by:
        copy in interface org.apache.camel.StreamCache
        Throws:
        IOException
      • inMemory

        public boolean inMemory()
        Specified by:
        inMemory in interface org.apache.camel.StreamCache
      • length

        public long length()
        Specified by:
        length in interface org.apache.camel.StreamCache