spring-framework / org.springframework.http.converter / ResourceHttpMessageConverter / <init>

<init>

ResourceHttpMessageConverter()

Create a new instance of the ResourceHttpMessageConverter that supports read streaming, i.e. can convert an HttpInputMessage to InputStreamResource.

ResourceHttpMessageConverter(supportsReadStreaming: Boolean)

Create a new instance of the ResourceHttpMessageConverter.

Parameters

supportsReadStreaming - whether the converter should support read streaming, i.e. convert to InputStreamResource

Since
5.0