title: Java. Serialize an object into application/x-www-form-urlencoded
body: <p>I have to make call to OpenNMS REST service, but it only accepts PUT with application/x-www-form-urlencoded, what is the way using Java to encode non trivial objects into this format.</p>