org.springframework.webflow.samples.booking
Class HotelsController
java.lang.Object
org.springframework.webflow.samples.booking.HotelsController
@Controller
public class HotelsController
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HotelsController
public HotelsController(TravelService travelService)
getHotels
@RequestMapping(value="/hotels")
public void getHotels(SearchCriteria criteria,
org.springframework.ui.Model model)
getHotel
@RequestMapping(value="/hotels/{id}")
public String getHotel(@PathVariable(value="id")
Long id,
org.springframework.ui.Model model)
addHotel
@RequestMapping(value="/hotels/new",
method=POST)
public String addHotel(Hotel hotel)
Copyright © 2009 SpringSource, Inc. All Rights Reserved.