protected void upload ( ) { try { onUpload ( ) ; eventBus . post ( new BlobUploadEvent ( endpoint ) ) ; Notification . show ( "Success" , "Upload complete" , Notification . Type . TRAY_NOTIFICATION ) ; } catch ( IOException | IllegalArgumentException | IllegalAccessException | IllegalStateException ex ) { onError ( ex ) ; } }
Called to upload new blob data to the server .