
jp.go.nict.langrid.commons.ws.servlet.ByteArrayServletInputStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jp.go.nict.langrid.commons Show documentation
Show all versions of jp.go.nict.langrid.commons Show documentation
Common and utility library for the Service Grid Server Software and java web services.
The newest version!
package jp.go.nict.langrid.commons.ws.servlet;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import javax.servlet.ServletInputStream;
public class ByteArrayServletInputStream extends ServletInputStream {
public ByteArrayServletInputStream(byte[] bytes){
this.is = new ByteArrayInputStream(bytes);
}
@Override
public int read() throws IOException {
return is.read();
}
private InputStream is;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy