Skip to content

Unable to override RequestMappingHandlerAdapter#createRequestMappingMethod [SPR-13293] #17883

@spring-projects-issues

Description

@spring-projects-issues

Marek Szalik opened SPR-13293 and commented

I want to create my own implementation of org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod

An instance of ServletInvocableHandlerMethod is created in RequestMappingHandlerAdapter#createRequestMappingMethod

Unfortunately that method is private so I am not able to override it in my RequestMappingHandlerAdapter.
Please change it to protected.

Source code link:
https://github.com/spring-projects/spring-framework/blob/4.1.x/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java#L785


Affects: 4.1.3

Referenced from: commits 10a2f50

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