All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.javaswift.joss.headers.account.AccountBytesUsed Maven / Gradle / Ivy

The newest version!
package org.javaswift.joss.headers.account;

import org.apache.http.HttpResponse;
import org.javaswift.joss.headers.SimpleHeader;

public class AccountBytesUsed extends SimpleHeader {

    public static final String X_ACCOUNT_BYTES_USED       = "X-Account-Bytes-Used";

    public AccountBytesUsed(String value) {
        super(value);
    }

    @Override
    public String getHeaderName() {
        return X_ACCOUNT_BYTES_USED;
    }

    public static AccountBytesUsed fromResponse(HttpResponse response) {
        return new AccountBytesUsed(convertResponseHeader(response, X_ACCOUNT_BYTES_USED));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy