Skip to content

Avoid reflection for creating StandardServletAsyncWebRequest [SPR-13112] #17703

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-13112 and commented

WebAsyncUtils uses reflection to create a StandardServletAsyncWebRequest, trying to avoid a Servlet 3.0 API dependency, despite an inner class delegate approach working equally well. Let's avoid the reflection overhead if we can, since we're doing this per (asynchronous) request.


Affects: 4.1.6, 4.2 RC1

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