public class WidgetController extends Object
Constructor and Description |
---|
WidgetController() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createWidget(String buffer) |
javax.ws.rs.core.Response |
deleteWidget(String title) |
void |
init() |
String |
listWidget(int limit,
int offset) |
String |
searchWidget(String query) |
javax.ws.rs.core.Response |
updateWidget(String title,
String buffer) |
String |
viewWidget(String title) |
@PostConstruct @Singleton public void init()
public String listWidget(int limit, int offset)
public javax.ws.rs.core.Response createWidget(String buffer)
public javax.ws.rs.core.Response deleteWidget(String title)
Copyright © 2015 Apache Software Foundation. All Rights Reserved.