vaadin/src/main/java/net/typedrest/vaadin/views/AbstractBlobView.java
protected void handleAllowedMethods() {
        endpoint.isDownloadAllowed().ifPresent(this::setDownloadEnabled);
        endpoint.isUploadAllowed().ifPresent(this::setUploadEnabled);
        endpoint.isDeleteAllowed().ifPresent(this::setDeleteEnabled);
    }
protected void handleAllowedMethods() {
        endpoint.isDownloadAllowed().ifPresent(this::setDownloadEnabled);
        endpoint.isUploadAllowed().ifPresent(this::setUploadEnabled);
        endpoint.isDeleteAllowed().ifPresent(this::setDeleteEnabled);
    }
protected void handleAllowedMethods ( ) { endpoint . isDownloadAllowed ( ) . ifPresent ( this :: setDownloadEnabled ) ; endpoint . isUploadAllowed ( ) . ifPresent ( this :: setUploadEnabled ) ; endpoint . isDeleteAllowed ( ) . ifPresent ( this :: setDeleteEnabled ) ; }
Enables or disabled buttons based on the "Allow" HTTP header.
Enables or disabled buttons based on the Allow HTTP header .