- 
                Notifications
    
You must be signed in to change notification settings  - Fork 38.8k
 
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Christopher Smith opened SPR-13423 and commented
In the vein of #17756, but possibly more controversial, I suggest that any CharSequence returned from an @ReponseBody method be coerced to a text string. I believe that in the cases I can think of (returning a StringBuilder or GString), the intent is probably to return the text contents rather than a JSON/XML representation of the its internal structure.
Affects: 4.2 GA
Issue Links:
- Allow MVC handler methods to return any CharSequence type as view name [SPR-13165] #17756 Allow MVC handler methods to return any CharSequence type as view name
 
Referenced from: commits 1291d6e
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement