Class DefaultUploadStreamContent

java.lang.Object
org.eclnt.jsfserver.bufferedcontent.DefaultUploadStreamContent
All Implemented Interfaces:
Serializable, IUploadStreamContent
Direct Known Subclasses:
DefaultUploadStreamContentBySeparateOutputStreams

public abstract class DefaultUploadStreamContent extends Object implements IUploadStreamContent
Default implementation of IUploadContent interface. Should be used for all implementations. This class will be updated in case the interface is extended.
See Also:
  • Constructor Details

    • DefaultUploadStreamContent

      public DefaultUploadStreamContent()
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface IUploadStreamContent
    • getURL

      public String getURL()
      The URL that can be passed back to client side for accessing the buffered content. The URL contains the session id. The URL is a relative URL that can be passed to all Swing-based components (e.g. FILEDOWNLOADLINK) in any scenario.

      When using CaptainCasa in embedded usage mode (UI is running with stand alone Tomcat within one virutal machine) and passing the URL to the BROWSER component then there will be problems. Use the function getURLForBrowserUsage() instead.
      Specified by:
      getURL in interface IUploadStreamContent