org.eclipse.jetty.server
Class HttpInput

java.lang.Object
  extended by java.io.InputStream
      extended by javax.servlet.ServletInputStream
          extended by org.eclipse.jetty.server.HttpInput
All Implemented Interfaces:
Closeable

public class HttpInput
extends ServletInputStream


Field Summary
protected  HttpConnection _connection
           
protected  HttpParser _parser
           
 
Constructor Summary
HttpInput(HttpConnection connection)
           
 
Method Summary
 int available()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class javax.servlet.ServletInputStream
readLine
 
Methods inherited from class java.io.InputStream
close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_connection

protected final HttpConnection _connection

_parser

protected final HttpParser _parser
Constructor Detail

HttpInput

public HttpInput(HttpConnection connection)
Method Detail

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class InputStream
Throws:
IOException

available

public int available()
              throws IOException
Overrides:
available in class InputStream
Throws:
IOException


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.