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 jakarta.validation.Configuration).
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. |
| CloseIgnoringInputStream | back to summary |
|---|---|
| public CloseIgnoringInputStream(InputStream in) | |
| close | back to summary |
|---|---|
| public void close() Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |