com.restfully.shop.services
Class FirstLastCustomerResource
java.lang.Object
com.restfully.shop.services.FirstLastCustomerResource
public class FirstLastCustomerResource
- extends java.lang.Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FirstLastCustomerResource
public FirstLastCustomerResource()
getCustomer
public javax.ws.rs.core.StreamingOutput getCustomer(java.lang.String firstName,
java.lang.String lastName)
updateCustomer
public void updateCustomer(java.lang.String firstName,
java.lang.String lastName,
java.io.InputStream is)
createCustomer
public javax.ws.rs.core.Response createCustomer(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.