stanbol-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Adamou <>
Subject Query param with no value as "true" in Jersey
Date Tue, 06 Nov 2012 15:19:24 GMT

I was wondering if it is possible to shortcut a QueryParam in Jersey and 
make it interpretable as a "true" boolean value e.g. if I want the 
metadata of an ontology:


which should be like


given that the DefaultValue for meta is false, but perhaps a little 
nicer and not as drastic as adding a PathParam

It seems to be a legal query in RFC 3986 [1], but can it be done in 
Jersey? Does it make sense?




M.Sc. Alessandro Adamou

Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna - Italy

Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy

"I will give you everything, just don't demand anything."
(Ettore Petrolini, 1917)

Not sent from my iSnobTechDevice

View raw message