}

    &#64;PUT
    public void updateWidget(&#64;PathParam("widgetid") String id,
                             Source update) {
       updateWidgetFromXml(id, update);
    }

    ...
}
</pre>

<h1>Web resource clients</h1>

<p>JAX-RS client API is a Java based API used to access resources on the Web. It is not restricted
    to resources implemented using JAX-RS. It provides a higher-level abstraction compared to a
    {@link java.net.HttpURLConnection plain HTTP communication API} as well as integration w