java - Jersey 1.0 JAX RS: How to transform uri string paths into REST method calls? -


i'm new jersey jax-rs, please bear me. we're trying add batch processing capabilities our rest api having client submit json list of uri paths typically have made individually. example:

[{"/rest/shoes/1"} , {"/rest/shirts/24"} , {"/rest/costume?color=green"}] 

again, each string in list paths (or subpaths) in rest api. list submitted single path, "/rest/queries", correspond method public list<response> queries(list<string>) . idea execute corresponding methods each path in list given. there way on jersey 1.0 jax-rs? or, alternatively, there way configure jax-rs automatically batch requests?

our goal have batch request contain several requests can entirely different each other, similar example above.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

jquery - Keeping Kendo Datepicker in min/max range -