[SPR-17296] Support for @RequestHeader as meta annotation Created: 22/Sep/18  Updated: 15/Jan/19

Status: Open
Project: Spring Framework
Component/s: Web
Affects Version/s: None
Fix Version/s: 5.x Backlog

Type: New Feature Priority: Minor
Reporter: Rob Winch Assignee: Juergen Hoeller
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Days since last comment: 1 year, 1 week, 4 days ago
Last commented by a User: true
Last updater: Spring Issuemaster

 Description   

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 {
}


 Comments   
Comment by Spring Issuemaster [ 14/Jan/19 ]

The Spring Framework has migrated to GitHub Issues. Please visit spring-projects/spring-framework#21829 for further activity, or to subscribe to receive notifications.

Generated at Sat Jan 25 16:56:16 UTC 2020 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.