Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jersey-dev] Handle Complex Query Params

Hi,

So as I understand, if I need to support complex types as QueryParams:


public class AnyData{

String field1;
Long field2;

}


I would need to implement javax.ws.rs.ext.ParamConverterProvider and give a convertor from and to a String type. 

My problem is that I generate my Jersey server and clients dynamically from Swagger. And my model generation is dynamic from service creation to deployment.

So can I anyhow support such POJOs in QueryParams without a ParamConvertor?

Any help would be really appreciated.

Thanks

Chirag 

Back to the top