Consider this:
Isnt it better to refactor this and pull the annotation value in a standard Constants class - for "type safety" ?Code:@RequestHeader("Accept-Encoding")
(at the spring framework codebase level)
It would be nice to become:
Code:@RequestHeader(RequestHeader.ACCEPT_ENCODING)


Reply With Quote