microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java
public void applyConditionToRequest(final HttpURLConnection request) {
        applyLeaseConditionToRequest(request);

        if (this.ifModifiedSinceDate != null) {
            request.setRequestProperty(Constants.HeaderConstants.IF_MODIFIED_SINCE,
                    Utility.getGMTTime(this.ifModifiedSinceDate));
        }

        if (this.ifUnmodifiedSinceDate != null) {
            request.setRequestProperty(Constants.HeaderConstants.IF_UNMODIFIED_SINCE,
                    Utility.getGMTTime(this.ifUnmodifiedSinceDate));
        }

        if (!Utility.isNullOrEmpty(this.ifMatchETag)) {
            request.setRequestProperty(Constants.HeaderConstants.IF_MATCH, this.ifMatchETag);
        }
        
        if (!Utility.isNullOrEmpty(this.ifNoneMatchETag)) {
            request.setRequestProperty(Constants.HeaderConstants.IF_NONE_MATCH, this.ifNoneMatchETag);
        }
    }
public void applyConditionToRequest(final HttpURLConnection request) {
        applyLeaseConditionToRequest(request);

        if (this.ifModifiedSinceDate != null) {
            request.setRequestProperty(Constants.HeaderConstants.IF_MODIFIED_SINCE,
                    Utility.getGMTTime(this.ifModifiedSinceDate));
        }

        if (this.ifUnmodifiedSinceDate != null) {
            request.setRequestProperty(Constants.HeaderConstants.IF_UNMODIFIED_SINCE,
                    Utility.getGMTTime(this.ifUnmodifiedSinceDate));
        }

        if (!Utility.isNullOrEmpty(this.ifMatchETag)) {
            request.setRequestProperty(Constants.HeaderConstants.IF_MATCH, this.ifMatchETag);
        }
        
        if (!Utility.isNullOrEmpty(this.ifNoneMatchETag)) {
            request.setRequestProperty(Constants.HeaderConstants.IF_NONE_MATCH, this.ifNoneMatchETag);
        }
    }
public void applyConditionToRequest ( final HttpURLConnection request ) { applyLeaseConditionToRequest ( request ) ; if ( this . ifModifiedSinceDate != null ) { request . setRequestProperty ( Constants . HeaderConstants . IF_MODIFIED_SINCE , Utility . getGMTTime ( this . ifModifiedSinceDate ) ) ; } if ( this . ifUnmodifiedSinceDate != null ) { request . setRequestProperty ( Constants . HeaderConstants . IF_UNMODIFIED_SINCE , Utility . getGMTTime ( this . ifUnmodifiedSinceDate ) ) ; } if ( ! Utility . isNullOrEmpty ( this . ifMatchETag ) ) { request . setRequestProperty ( Constants . HeaderConstants . IF_MATCH , this . ifMatchETag ) ; } if ( ! Utility . isNullOrEmpty ( this . ifNoneMatchETag ) ) { request . setRequestProperty ( Constants . HeaderConstants . IF_NONE_MATCH , this . ifNoneMatchETag ) ; } }
RESERVED FOR INTERNAL USE. Applies the access conditions to the request.

@param request
A <code>java.net.HttpURLConnection</code> object that represents the request
to which the condition is being applied.
RESERVED FOR INTERNAL USE . Applies the access conditions to the request .