public class DelegatingServletInputStream
extends javax.servlet.ServletInputStream
| Constructor and Description |
|---|
DelegatingServletInputStream(InputStream proxy)
Create a new DelegatingServletInputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
InputStream |
getSourceStream() |
InputStream |
getTargetStream()
Accessor for the stream that we are proxying to
|
int |
read() |
available, mark, markSupported, read, read, reset, skippublic DelegatingServletInputStream(InputStream proxy)
proxy - the sourceStream InputStreampublic InputStream getTargetStream()
public InputStream getSourceStream()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2008-2014. All Rights Reserved.