public final class SaveOnReadInputStream extends FilterInputStream
InputStream wrapper that saves the input on read and provides a InputStreamFactory.in| Constructor and Description | 
|---|
| SaveOnReadInputStream(InputStream in,
                     FileStoreInputStreamFactory fsisf) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| InputStreamFactory | getInputStreamFactory() | 
| int | read() | 
| int | read(byte[] b,
    int off,
    int len) | 
available, mark, markSupported, read, reset, skippublic SaveOnReadInputStream(InputStream in, FileStoreInputStreamFactory fsisf)
public int read()
         throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
                int off,
                int len)
         throws IOException
read in class FilterInputStreamIOExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionpublic InputStreamFactory getInputStreamFactory()
Copyright © 2018 JBoss by Red Hat. All rights reserved.