org.zalando.riptide.httpclient.EmptyInputStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of riptide-httpclient Show documentation
Show all versions of riptide-httpclient Show documentation
Client side response routing with stream support
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