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.