Skip to content

RequestHeader annotation does not work if it's put on an interface [SPR-15023] #19590

Closed
@spring-projects-issues

Description

@spring-projects-issues

Andrei Sfat opened SPR-15023 and commented

Basically, I have a controller which is an interface where I put every annotations on that interface and when I implement that interface, apparently RequestHeader is not picked up.
If I repeat myself and put the RequestHeader in the implementation, it will work fine.

Shouldn't this annotation work the same as the other annotations? I think I've tried almost all annotations and they are picked up correctly.

I've attached a example.


Affects: 4.2.6

Attachments:

Issue Links:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions