java - For a @GET operation which one to use @QueryParam or @FormParam -


i developing server side application (not client). have list operation using @get , passing parameters @queryparam. should use @formparam? helpful while developing client?

the @formparam annotation expect parameter in body of request sent html form submit.

an http should not use request body. so, keep using @queryparam @get.

see also:


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -