io.muserver.rest.EmptyInputStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mu-server Show documentation
Show all versions of mu-server Show documentation
A simple but powerful web server framework
package io.muserver.rest;
import java.io.InputStream;
class EmptyInputStream extends InputStream {
static final InputStream INSTANCE = new EmptyInputStream();
private EmptyInputStream() {
}
public int read() {
return -1;
}
}