Resource.isFile() and JAF MediaTypeFactory [SPR-14484] #19053
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Juergen Hoeller opened SPR-14484 and commented
Two common delegates have been in demand for a while and are now strongly suggested by our reactive efforts:
A
Resource.isFile()
indicator for whetherResource.getFile()
would succeed. This can make use of default methods in the interface, likeisReadable()
andisOpen()
.A
MediaTypeFactory
inorg.springframework.http
, resolving content type values toMediaType
instances via the Java Activation Framework (remaining an implementation detail).Issue Links:
Referenced from: commits 8bb34bc
The text was updated successfully, but these errors were encountered: