org.springframework.samples.petclinic.appointments.web
Class AppointmentsController
java.lang.Object
org.springframework.samples.petclinic.appointments.web.AppointmentsController
@Controller
@RequestMapping(value="/appointments")
public class AppointmentsController
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppointmentsController
public AppointmentsController(AppointmentBook appointmentBook)
configureBinder
@InitBinder
public void configureBinder(org.springframework.web.bind.WebDataBinder binder)
get
@RequestMapping(method=GET)
public Appointments get()
getForDay
@RequestMapping(value="/{day}",
method=GET)
public void getForDay(@PathVariable
Date day,
ExternalContext context)
getNewForm
@RequestMapping(value="/new",
method=GET)
public AppointmentForm getNewForm()
post
@RequestMapping(method=POST)
public String post(AppointmentForm form)
Copyright © 2009 SpringSource, Inc. All Rights Reserved.