Class DefaultUploadContent

java.lang.Object
org.eclnt.jsfserver.bufferedcontent.DefaultUploadContent
All Implemented Interfaces:
Serializable, IUploadContent

public abstract class DefaultUploadContent extends Object implements IUploadContent
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

    • DefaultUploadContent

      public DefaultUploadContent()
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface IUploadContent
    • 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 IUploadContent