Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource.isFile() and JAF MediaTypeFactory [SPR-14484] #19053

Closed
spring-projects-issues opened this issue Jul 19, 2016 · 0 comments
Closed

Resource.isFile() and JAF MediaTypeFactory [SPR-14484] #19053

spring-projects-issues opened this issue Jul 19, 2016 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jul 19, 2016

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 whether Resource.getFile() would succeed. This can make use of default methods in the interface, like isReadable() and isOpen().

  • A MediaTypeFactory in org.springframework.http, resolving content type values to MediaType instances via the Java Activation Framework (remaining an implementation detail).


Issue Links:

Referenced from: commits 8bb34bc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants