public void applyAppendConditionToRequest(final HttpURLConnection request) {
        if (this.ifMaxSizeLessThanOrEqual != null) {
            request.setRequestProperty(Constants.HeaderConstants.IF_MAX_SIZE_LESS_THAN_OR_EQUAL,
                    this.ifMaxSizeLessThanOrEqual.toString());
        }

        if (this.ifAppendPositionEqual != null) {
            request.setRequestProperty(Constants.HeaderConstants.IF_APPEND_POSITION_EQUAL_HEADER,
                    this.ifAppendPositionEqual.toString());
        }
    }
public void applyAppendConditionToRequest(final HttpURLConnection request) {
        if (this.ifMaxSizeLessThanOrEqual != null) {
            request.setRequestProperty(Constants.HeaderConstants.IF_MAX_SIZE_LESS_THAN_OR_EQUAL,
                    this.ifMaxSizeLessThanOrEqual.toString());
        }

        if (this.ifAppendPositionEqual != null) {
            request.setRequestProperty(Constants.HeaderConstants.IF_APPEND_POSITION_EQUAL_HEADER,
                    this.ifAppendPositionEqual.toString());
        }
    }
public void applyAppendConditionToRequest ( final HttpURLConnection request ) { if ( this . ifMaxSizeLessThanOrEqual != null ) { request . setRequestProperty ( Constants . HeaderConstants . IF_MAX_SIZE_LESS_THAN_OR_EQUAL , this . ifMaxSizeLessThanOrEqual . toString ( ) ) ; } if ( this . ifAppendPositionEqual != null ) { request . setRequestProperty ( Constants . HeaderConstants . IF_APPEND_POSITION_EQUAL_HEADER , this . ifAppendPositionEqual . toString ( ) ) ; } }
RESERVED FOR INTERNAL USE. Applies the access condition to the request.

@param request
A <code>java.net.HttpURLConnection</code> object that represents the request to which the condition is
being applied.

@throws StorageException
If there is an error parsing the date value of the access condition.
RESERVED FOR INTERNAL USE . Applies the access condition to the request .