Skip to content

Add HTTP cache control options to SimpleMappingExceptionResolver [SPR-2780] #7467

Closed
@spring-projects-issues

Description

@spring-projects-issues

Matthew Sgarlata opened SPR-2780 and commented

The SimpleMappingExceptionResolver offers no direct way to set HTTP caching behavior for error views. It would be nice to add a cacheSeconds property similar to the one offered by subclasses of WebContentGenerator (such as AbstractController).

Note this bug is related to bug 2779, which is an enhancement request to decouple HTTP cache controlling code from the WebContentGenerator class. Here is a link to that report:

http://opensource.atlassian.com/projects/spring/browse/SPR-2779


Affects: 2.0 final

Issue Links:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions