Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
High-level interfaces and annotations used to create RESTful service resources. E.g.:
public class WidgetResource {

public String getWidget(@PathParam("widgetid") String id) {
return getWidgetAsXml(id);

public void updateWidget(@PathParam("widgetid") String id,
Source update) {
updateWidgetFromXml(id, update);

New to GrepCode? Check out our FAQ X