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

nl.tweeenveertig.openstack.headers.container.ContainerBytesUsed Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
package nl.tweeenveertig.openstack.headers.container;

import nl.tweeenveertig.openstack.headers.SimpleHeader;
import org.apache.http.HttpResponse;

public class ContainerBytesUsed extends SimpleHeader {

    public static final String X_CONTAINER_BYTES_USED = "X-Container-Bytes-Used";

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

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

    public static ContainerBytesUsed fromResponse(HttpResponse response) {
        return new ContainerBytesUsed(convertResponseHeader(response, X_CONTAINER_BYTES_USED));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy