@Controller @RequestMapping(value="/dining") public class DiningController extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
LOG |
Constructor and Description |
---|
DiningController() |
Modifier and Type | Method and Description |
---|---|
String |
getMenus(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model uiModel,
String name,
String location) |
String |
getMenusJson(javax.servlet.http.HttpServletRequest request,
String name,
String location) |
String |
getPlaceListJson() |
String |
getPlaces(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model uiModel) |
void |
setDiningService(DiningService diningService) |
public static final org.apache.log4j.Logger LOG
public DiningController()
public void setDiningService(DiningService diningService)
@RequestMapping(method=GET) public String getPlaces(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model uiModel)
@RequestMapping(value="/getPlaces", method=GET, headers="Accept=application/json") @ResponseBody public String getPlaceListJson()
@RequestMapping(value="/menu", method=GET) public String getMenus(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model uiModel, @RequestParam(value="name",required=true) String name, @RequestParam(value="location",required=false) String location)
@RequestMapping(value="/getMenu") @ResponseBody public String getMenusJson(javax.servlet.http.HttpServletRequest request, @RequestParam(value="name",required=true) String name, @RequestParam(value="location",required=false) String location)
Copyright © 2011-2014 The Kuali Foundation. All Rights Reserved.