com.prolifics.servlet
Class FilterServletInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by javax.servlet.ServletInputStream
          extended by com.prolifics.servlet.FilterServletInputStream
All Implemented Interfaces:
java.io.Closeable

public class FilterServletInputStream
extends javax.servlet.ServletInputStream


Field Summary
protected  java.io.InputStream in
           
 
Constructor Summary
FilterServletInputStream(java.io.InputStream in)
           
FilterServletInputStream(javax.servlet.ServletInputStream in)
           
 
Method Summary
 int available()
           
 void close()
           
 void mark(int readlimit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] buf)
           
 int read(byte[] buf, int off, int len)
           
 int readLine(byte[] buf, int off, int len)
           
 void reset()
           
 long skip(long count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

protected java.io.InputStream in
Constructor Detail

FilterServletInputStream

public FilterServletInputStream(java.io.InputStream in)

FilterServletInputStream

public FilterServletInputStream(javax.servlet.ServletInputStream in)
Method Detail

read

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

read

public int read(byte[] buf)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] buf,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

skip

public long skip(long count)
          throws java.io.IOException
Overrides:
skip in class java.io.InputStream
Throws:
java.io.IOException

available

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

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream
Throws:
java.io.IOException

mark

public void mark(int readlimit)
Overrides:
mark in class java.io.InputStream

reset

public void reset()
           throws java.io.IOException
Overrides:
reset in class java.io.InputStream
Throws:
java.io.IOException

markSupported

public boolean markSupported()
Overrides:
markSupported in class java.io.InputStream

readLine

public int readLine(byte[] buf,
                    int off,
                    int len)
             throws java.io.IOException
Overrides:
readLine in class javax.servlet.ServletInputStream
Throws:
java.io.IOException