electric.servlet.streams
Class ServletInput

java.lang.Object
  extended byjava.io.InputStream
      extended byjavax.servlet.ServletInputStream
          extended byelectric.servlet.streams.ServletInput

public final class ServletInput
extends javax.servlet.ServletInputStream

ServletInput.

Author:
webMethods

Constructor Summary
ServletInput(java.io.InputStream input, int contentLength)
          Servlet spec models content-length as an int instead of a long.
 
Method Summary
 void close()
           
 int read()
           
 int read(byte[] buffer, int offset, int length)
           
 
Methods inherited from class javax.servlet.ServletInputStream
readLine
 
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

ServletInput

public ServletInput(java.io.InputStream input,
                    int contentLength)
Servlet spec models content-length as an int instead of a long.

Parameters:
input -
contentLength -
Method Detail

read

public int read(byte[] buffer,
                int offset,
                int length)
         throws java.io.IOException
Parameters:
buffer -
offset -
length -
Throws:
java.io.IOException

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException


copyright© 2001-2004 by webMethods All Rights Reserved.