Generated by
JDiff

Class org.springframework.web.servlet.resource.ResourceHttpRequestHandler

Removed Methods
void writeContent(HttpServletResponse, Resource) Write the actual content out to the given servlet response, streaming the resource's content.
void writePartialContent(HttpServletRequest, HttpServletResponse, Resource, MediaType) Write parts of the resource as indicated by the request {@code Range} header.
 

Added Methods
ContentNegotiationManager getContentNegotiationManager()  
MediaType getMediaType(HttpServletRequest, Resource) Determine the media type for the given request and the resource matched to it.
ResourceHttpMessageConverter getResourceHttpMessageConverter()  
ContentNegotiationManager initContentNegotiationManager() Create the {@code ContentNegotiationManager} to use to resolve the MediaType for requests.
void setContentNegotiationManager(ContentNegotiationManager) Configure a {@code ContentNegotiationManager} to determine the media types for resources being served.
void setResourceHttpMessageConverter(ResourceHttpMessageConverter) Configure the ResourceHttpMessageConverter to use.
 

Changed Methods
MediaType getMediaType(Resource) Now deprecated.
as of 4.3 this method is deprecated; please override {@link #getMediaType(HttpServletRequest, Resource)} instead.