Class ResourceHttpMessageReader

java.lang.Object
org.springframework.http.codec.DecoderHttpMessageReader<Resource>
org.springframework.http.codec.ResourceHttpMessageReader
All Implemented Interfaces:
HttpMessageReader<Resource>

public class ResourceHttpMessageReader extends DecoderHttpMessageReader<Resource>
HttpMessageReader that wraps and delegates to a ResourceDecoder that extracts the filename from the "Content-Disposition" header, if available, and passes it as the ResourceDecoder.FILENAME_HINT.
Since:
5.2
Author:
Rossen Stoyanchev