Hi all,

I have a CXF REST WS URL that supports unknown number of query parameters.
I get the query paramters from  uriInfo - @context uriInfo.

The system requires that some of the query params cannot be not empty => the
key and the associated value cannot be empty. 

I can programatically check for non-null key and value. But I want to avoid
this approach and see if there any other approach in CXF.

Thus, is there a way in CXF to restrict the REST WS user to always send
non-empty values in the *key* and *value* of a query param? 

Example - If this is one of the query parameter that is being sent in the
url   -  useName=xyz
then both the *key* and the *value* *cannot be empty. *

Hope to know your input.

Thanks in advance.



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Query-params-check-tp5732539.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to