org.springframework.samples.petclinic.owners
Class OwnerController
java.lang.Object
org.springframework.samples.petclinic.owners.OwnerController
@Controller
@RequestMapping(value="/owners/{owner}")
public class OwnerController
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwnerController
public OwnerController(OwnerRepository repository)
get
@RequestMapping(method=GET)
public String get(@PathVariable
Long owner,
org.springframework.ui.Model model)
getEditForm
@RequestMapping(value="/edit",
method=GET)
public OwnerForm getEditForm(@PathVariable
Long owner)
put
@RequestMapping(method=PUT)
public void put(OwnerForm owner,
ExternalContext response)
Copyright © 2009 SpringSource, Inc. All Rights Reserved.