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 .