Apache CXF API

org.apache.cxf.transport.http.netty.server.servlet
Class NettyServletInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by javax.servlet.ServletInputStream
          extended by org.apache.cxf.transport.http.netty.server.servlet.NettyServletInputStream
All Implemented Interfaces:
Closeable

public class NettyServletInputStream
extends javax.servlet.ServletInputStream


Constructor Summary
NettyServletInputStream(io.netty.handler.codec.http.HttpContent httpContent)
           
 
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.io.InputStream
available, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NettyServletInputStream

public NettyServletInputStream(io.netty.handler.codec.http.HttpContent httpContent)
Method Detail

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 API

Apache CXF