I am designing a REST API which would need to bee sorted on multiple parameter.
I am trying to use something like http://books?sort=+author,-datepublished
But I don't know how to write a custom QueryParam to parse the sort.
I am designing a REST API which would need to bee sorted on multiple parameter.
I am trying to use something like http://books?sort=+author,-datepublished
But I don't know how to write a custom QueryParam to parse the sort.