Skip to content

linkTo and methodOn with custom RequestMappingHandlerMapping #144

Closed
@benneq

Description

@benneq

I just wanted to implement/use Spring Hateoas, but I've got a problem:

I've got a custom RequestMappingHandlerMapping registered in WebMvcConfigurationSupport, which scans all Controllers for an additional annotation (@apiversion) in order to build custom URLs like: /v1/users if the Controller ist annotated with @RequestMapping("users") @apiversion(1).

Is it possible to modify Spring Hateoas to use the registered RequestMappingHandlerMapping in order to construct URLs using linkTo and methodOn?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions