Skip to content

Defer StringHttpMessageConverter Charset.availableCharsets() call [SPR-15502] #20061

@spring-projects-issues

Description

@spring-projects-issues

Phil Webb opened SPR-15502 and commented

The StringHttpMessageConverter calls Charset.availableCharsets() which can be quite an expensive thing to do on startup. Switching it to obtain it on the first call may help improve startup times a little.


Affects: 4.3.8

Referenced from: commits 90477b4, ee40310

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