org.jboss.resteasy.examples.springmvc
Class ContactsResource
java.lang.Object
org.jboss.resteasy.examples.springmvc.ContactsResource
@Controller
public class ContactsResource
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTACTS_URL
public static final String CONTACTS_URL
- See Also:
- Constant Field Values
ContactsResource
public ContactsResource()
getAll
public Contacts getAll()
saveContact
public Response saveContact(@Context
UriInfo uri,
Contact contact)
throws URISyntaxException
- Throws:
URISyntaxException
get
public Contact get(String lastName)
saveContactForm
public org.springframework.web.servlet.ModelAndView saveContactForm(@Form
Contact contact)
throws URISyntaxException
- Throws:
URISyntaxException
viewAll
public org.springframework.web.servlet.ModelAndView viewAll()
Copyright © 2011. All Rights Reserved.