Apache Tomcat 7.0.54

org.apache.coyote.http11.upgrade
Class BioServletInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by javax.servlet.ServletInputStream
          extended by org.apache.coyote.http11.upgrade.AbstractServletInputStream
              extended by org.apache.coyote.http11.upgrade.BioServletInputStream
All Implemented Interfaces:
Closeable

public class BioServletInputStream
extends AbstractServletInputStream


Field Summary
 
Fields inherited from class org.apache.coyote.http11.upgrade.AbstractServletInputStream
sm
 
Constructor Summary
BioServletInputStream(SocketWrapper<Socket> wrapper)
           
 
Method Summary
protected  void doClose()
           
protected  boolean doIsReady()
           
protected  int doRead(boolean block, byte[] b, int off, int len)
          Abstract method to be overridden by concrete implementations.
 
Methods inherited from class org.apache.coyote.http11.upgrade.AbstractServletInputStream
close, isCloseRequired, isFinished, isReady, onDataAvailable, read, read, readLine, setReadListener
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BioServletInputStream

public BioServletInputStream(SocketWrapper<Socket> wrapper)
                      throws IOException
Throws:
IOException
Method Detail

doRead

protected int doRead(boolean block,
                     byte[] b,
                     int off,
                     int len)
              throws IOException
Description copied from class: AbstractServletInputStream
Abstract method to be overridden by concrete implementations. The base class will ensure that there are no concurrent calls to this method for the same socket.

Specified by:
doRead in class AbstractServletInputStream
Throws:
IOException

doIsReady

protected boolean doIsReady()
Specified by:
doIsReady in class AbstractServletInputStream

doClose

protected void doClose()
                throws IOException
Specified by:
doClose in class AbstractServletInputStream
Throws:
IOException

Apache Tomcat 7.0.54

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.