As part of the CAS4 development, I’m working with the new Spring MVC Controller annotations. Overall, the attributes are great, but I’ve found that they can be lacking.
While you can easily specify an annotation to bind the parameter from a request to a parameter on the method, you cannot bind a cookie value to a parameter on a method! You have to use the cumbersome WebUtils method.
I’ve opened a JIRA request for a new annotation: SPR-5323.
I’m hoping to either convince them to implement this or I’ll try doing it myself over the weekend.
0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment