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

io.sphere.sdk.http.FileHttpRequestBody Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.http;

import java.io.File;

public final class FileHttpRequestBody extends Base implements HttpRequestBody {
    private final File body;

    private FileHttpRequestBody(final File body) {
        this.body = body;
    }

    public static FileHttpRequestBody of(final File body) {
        return new FileHttpRequestBody(body);
    }

    public File getFile() {
        return body;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy