public class DelegatingServletInputStream
extends ServletInputStream
| Constructor and Description |
|---|
DelegatingServletInputStream(java.io.InputStream sourceStream)
Create a DelegatingServletInputStream for the given source stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.io.InputStream |
getSourceStream()
Return the underlying source stream (never
null). |
boolean |
isFinished() |
boolean |
isReady() |
int |
read() |
void |
setReadListener(ReadListener rl) |
public DelegatingServletInputStream(java.io.InputStream sourceStream)
sourceStream - the source stream (never null)public final java.io.InputStream getSourceStream()
null).public int read()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic void setReadListener(ReadListener rl)
public boolean isReady()
public boolean isFinished()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.