vaadin/src/main/java/net/typedrest/vaadin/views/AbstractBlobView.java
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);
        }
    }
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);
        }
    }
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.
Called to upload new blob data to the server .