Skip to content

expose ServletHandlerMethodResolver AnnotationMethodHandlerAdapter.getMethodResolver(Object handler) to application code [SPR-9412] #14048

@spring-projects-issues

Description

@spring-projects-issues

Alceu Medeiros opened SPR-9412 and commented

Hi,

As I described in my super-task comment, I just need to know the method that will handle the request to get from it some custom annotations I did. My suggestion is to make ServletHandlerMethodResolver AnnotationMethodHandlerAdapter.getMethodResolver(Object handler) protected, so we can extend the class and get the method.

Turning invokeHandlerMethod(HttpServletRequest request, HttpServletResponse response, Object handler) to protected didn't solve the issue for me. Or, if have another way to get the handler method, please let me know.

Thanks in advance.
Best regards.


Affects: 3.0.6

Reference URL: http://forum.springsource.org/showthread.php?126255-How-to-get-a-handler-method-of-a-request-from-the-AnnotationMethodHandlerAdapter

This issue is a sub-task of #9760

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: taskA general task

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions