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 listener) |
available, mark, markSupported, reset, skip
public NettyServletInputStream(io.netty.handler.codec.http.HttpContent httpContent)
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] buf) throws IOException
read
in class InputStream
IOException
public int read(byte[] buf, int offset, int len) throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public void setReadListener(javax.servlet.ReadListener listener)
setReadListener
in class javax.servlet.ServletInputStream
public boolean isReady()
isReady
in class javax.servlet.ServletInputStream
public boolean isFinished()
isFinished
in class javax.servlet.ServletInputStream
Apache CXF