Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Dec 15, 2016 · 1 comment
Assignees
Labels
status: duplicate A duplicate of another issue

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Dec 15, 2016

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:

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Dec 15, 2016

Juergen Hoeller commented

This looks a duplicate of the more general #15682. It's on our roadmap for 5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants