spring-framework / org.springframework.core.io / InputStreamResource / getInputStream

getInputStream

open fun getInputStream(): InputStream

This implementation throws IllegalStateException if attempting to read the underlying stream multiple times.