Class InputStreamResource

java.lang.Object
org.teamapps.ux.resource.InputStreamResource
All Implemented Interfaces:
Resource

public class InputStreamResource
extends java.lang.Object
implements Resource
  • Constructor Summary

    Constructors 
    Constructor Description
    InputStreamResource​(java.util.function.Supplier<java.io.InputStream> inputStreamSupplier)  
    InputStreamResource​(java.util.function.Supplier<java.io.InputStream> inputStreamSupplier, long length)  
  • Method Summary

    Modifier and Type Method Description
    java.io.InputStream getInputStream()  
    long getLength()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.teamapps.ux.resource.Resource

    getAsFile, getExpires, getLastModified, getMimeType, getName, isAttachment