Consider this:

Code:
@RequestHeader("Accept-Encoding")
Isnt it better to refactor this and pull the annotation value in a standard Constants class - for "type safety" ?

(at the spring framework codebase level)

It would be nice to become:

Code:
@RequestHeader(RequestHeader.ACCEPT_ENCODING)