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

org.zalando.riptide.httpclient.EmptyInputStream Maven / Gradle / Ivy

There is a newer version: 4.1.0
Show newest version
package org.zalando.riptide.httpclient;

import java.io.IOException;
import java.io.InputStream;

final class EmptyInputStream extends InputStream {

    static final InputStream EMPTY = new EmptyInputStream();

    private EmptyInputStream() {

    }

    @Override
    public int read() throws IOException {
        return -1;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy