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