Skip to content

Provide a formatter registry capability local to a controller [SPR-7773] #12429

Closed
@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-7773 and commented

Currently a single ConversionService is used globally in a DispatcherServlet. It would be useful for controllers to be able to register converters and formatters locally for a given DataBinder instance without affecting the global ConversionService instance (for example ROO-1655).

Something along the lines of:
DataBinder.getFormatterRegistry().add(..)


Affects: 3.0.5

Issue Links:

Referenced from: commits dc39e35, 02da2e8

4 votes, 5 watchers

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