Skip to content

Allow serving static files from a directory to the functional web framework [SPR-14913] #19480

@spring-projects-issues

Description

@spring-projects-issues

Sébastien Deleuze opened SPR-14913 and commented

As shown in Project Reactor website project, its is currently possible to serve static resources with BodyInserters.fromResource() but it is verbose and not designed to handle nested directories easily.

Like in Spring Web Reactive ResourceHandlerRegistry, it would be very useful to be able to serve the all the static files from a specified directory (filesystem or the classpath).


Referenced from: commits 136b33b

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions