com.vaadin.ui.

Interface Upload.ProgressListener

  • All Superinterfaces:

    Serializable

    Enclosing class:

    Upload


    public static interface Upload.ProgressListener
    extends Serializable

    ProgressListener receives events to track progress of upload.

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      void updateProgress(long readBytes, long contentLength)

      Updates progress to listener

    • Method Detail

      • updateProgress

        void updateProgress(long readBytes,
                            long contentLength)

        Updates progress to listener

        Parameters:

        readBytes - bytes transferred

        contentLength - total size of file currently being uploaded, -1 if unknown