Skip to content
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

Support for @RequestHeader as meta annotation [SPR-17296] #21829

Open
spring-issuemaster opened this issue Sep 22, 2018 · 0 comments

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Sep 22, 2018

Rob Winch opened SPR-17296 and commented

It would be nice if @RequestHeader could be used for a meta annotation. This would make it easier if a header was being used consistently throughout the entire application. For example, a user might do something like this:

 

@Retention(RetentionPolicy.RUNTIME)
@RequestHeader(name = "user-id")
public @interface CurrentUserId {
}

No further details from SPR-17296

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.