Class ByteSourcePayload

    • Constructor Detail

      • ByteSourcePayload

        public ByteSourcePayload​(com.google.common.io.ByteSource content)
    • Method Detail

      • release

        public void release()
        if we created the stream, then it is already consumed on close.
        Specified by:
        release in interface Payload
        Overrides:
        release in class BasePayload<com.google.common.io.ByteSource>