org.apache.cxf.transport.http.netty.server.servlet
Class NettyServletInputStream
java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
org.apache.cxf.transport.http.netty.server.servlet.NettyServletInputStream
- All Implemented Interfaces:
- Closeable
public class NettyServletInputStream
- extends javax.servlet.ServletInputStream
Method Summary |
void |
close()
|
int |
read()
|
int |
read(byte[] buf)
|
int |
read(byte[] buf,
int offset,
int len)
|
Methods inherited from class javax.servlet.ServletInputStream |
readLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyServletInputStream
public NettyServletInputStream(io.netty.handler.codec.http.HttpContent httpContent)
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
read
public int read(byte[] buf)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
read
public int read(byte[] buf,
int offset,
int len)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
Apache CXF