Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

Question:Include possible values of @PathParam to WADL

We are using Jersey for RESTful API implementation utilizing its cool feature of automatic WADL generation.

Just as an example we have method

public Object getAttributeByID(@PathParam("id") long id, @PathParam("attribute") String attribute) {

This generates the following fragment in WADL:

Attribute can be name, type, size and we want not only to validate the value at runtime but also show it in generated wadl According to this document such feature should be supported by generating several tags

asked Sep 13, 2013 in ANDROID by android_master
edited Sep 12, 2013
0 votes

Related Hot Questions

Government Jobs Opening