|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.ccd.ui.portlets.fileupload.MultipartInputStreamHandler
public class MultipartInputStreamHandler
A class to aid in reading multipart/form-data from a ServletInputStream. It keeps track of how many bytes have been read and detects when the Content-Length limit has been reached. This is necessary because some servlet engines are slow to notice the end of stream
Constructor Summary | |
---|---|
MultipartInputStreamHandler(javax.servlet.ServletInputStream pInputStream,
java.lang.String pBoundary,
int pTotalExpected)
Constructor |
Method Summary | |
---|---|
java.lang.String |
readLine()
reads a line from ServletInputStream |
int |
readLine(byte[] b,
int off,
int len)
reads the line |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipartInputStreamHandler(javax.servlet.ServletInputStream pInputStream, java.lang.String pBoundary, int pTotalExpected)
pInputStream
- pBoundary
- pTotalExpected
- Method Detail |
---|
public java.lang.String readLine() throws java.io.IOException
ServletInputStream
java.io.IOException
public int readLine(byte[] b, int off, int len) throws java.io.IOException
b
- off
- len
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |