@ApplicationScoped
@Consumes(value={"application/json","application/xml"})
@Produces(value={"application/json","application/xml"})
public class ContactResource
extends Object
ContactService to
access contacts.| Constructor and Description |
|---|
ContactResource() |
| Modifier and Type | Method and Description |
|---|---|
View |
getContact(Long id) |
View |
getContacts() |
javax.ws.rs.core.Response |
postContact(View contactView,
javax.ws.rs.core.UriInfo uriInfo) |
View |
putContact(Long id,
View contactView) |
Copyright © 2014–2016. All rights reserved.