Interface HttpResource
- All Superinterfaces:
- InputStreamSource,- Resource
Extended interface for a 
Resource to be written to an
 HTTP response.- Since:
- 5.0
- Author:
- Brian Clozel
- 
Method SummaryModifier and TypeMethodDescriptionThe HTTP headers to be contributed to the HTTP response that serves the current resource.Methods inherited from interface org.springframework.core.io.InputStreamSourcegetInputStreamMethods inherited from interface org.springframework.core.io.ResourcecontentLength, createRelative, exists, getContentAsByteArray, getContentAsString, getDescription, getFile, getFilename, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel
- 
Method Details- 
getResponseHeadersHttpHeaders getResponseHeaders()The HTTP headers to be contributed to the HTTP response that serves the current resource.- Returns:
- the HTTP response headers
 
 
-