com.restfully.shop.services
Class CustomerResource
java.lang.Object
com.restfully.shop.services.CustomerResource
public class CustomerResource
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomerResource
public CustomerResource()
createCustomer
public javax.ws.rs.core.Response createCustomer(java.io.InputStream is)
getCustomer
public javax.ws.rs.core.StreamingOutput getCustomer(int id)
updateCustomer
public void updateCustomer(int id,
java.io.InputStream is)
outputCustomer
protected void outputCustomer(java.io.OutputStream os,
Customer cust)
throws java.io.IOException
- Throws:
java.io.IOException
readCustomer
protected Customer readCustomer(java.io.InputStream is)
Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.