public class NettyServletInputStream
extends javax.servlet.ServletInputStream
| Constructor and Description |
|---|
NettyServletInputStream(io.netty.handler.codec.http.HttpContent httpContent) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isFinished() |
boolean |
isReady() |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int offset,
int len) |
void |
setReadListener(javax.servlet.ReadListener readListener) |
available, mark, markSupported, reset, skippublic NettyServletInputStream(io.netty.handler.codec.http.HttpContent httpContent)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buf)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buf,
int offset,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic boolean isFinished()
isFinished in class javax.servlet.ServletInputStreampublic boolean isReady()
isReady in class javax.servlet.ServletInputStreampublic void setReadListener(javax.servlet.ReadListener readListener)
setReadListener in class javax.servlet.ServletInputStreamApache CXF