spring-framework / org.springframework.core.io / InputStreamResource / <init>

<init>

InputStreamResource(inputStream: InputStream)

Create a new InputStreamResource.

Parameters

inputStream - the InputStream to use

InputStreamResource(inputStream: InputStream, @Nullable description: String)

Create a new InputStreamResource.

Parameters

inputStream - the InputStream to use

description - where the InputStream comes from