org.jboss.resteasy.examples.springmvc
Class ContactsResource

java.lang.Object
  extended by org.jboss.resteasy.examples.springmvc.ContactsResource

@Controller
public class ContactsResource
extends Object


Field Summary
static String CONTACTS_URL
           
 
Constructor Summary
ContactsResource()
           
 
Method Summary
 Contact get(String lastName)
           
 Contacts getAll()
           
 Response saveContact(UriInfo uri, Contact contact)
           
 org.springframework.web.servlet.ModelAndView saveContactForm(Contact contact)
           
 org.springframework.web.servlet.ModelAndView viewAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTACTS_URL

public static final String CONTACTS_URL
See Also:
Constant Field Values
Constructor Detail

ContactsResource

public ContactsResource()
Method Detail

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.