Skip to content

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

Closed

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:

Activity

  1. spring-projects-issues commented on Dec 15, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

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

  2. added
    type: bug
    status: duplicate
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

status: duplicate

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions