public class CloseIgnoringInputStream extends FilterInputStream
To prevent this we wrap the input stream to be able to ignore the close event. It is the responsibility of the client API to close the stream (as per Bean Validation spec, see javax.validation.Configuration).
in
Constructor and Description |
---|
CloseIgnoringInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
available, mark, markSupported, read, read, read, reset, skip
public CloseIgnoringInputStream(InputStream in)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
Copyright © 2019 JBoss by Red Hat. All rights reserved.