ource {

     &#064;GET
     public String getWidget(&#064;PathParam("widgetid") String id) {
         return getWidgetAsXml(id);
     }

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

     ...
 }
 </pre></div>
</section>
<section class="summary">
<ul class="summary-list">
<li>
<div id="related-package-summary">
<div class="caption"><span>Related Packages</span></div>
<div cl