com.restfully.shop.services
Class FirstLastCustomerResource

java.lang.Object
  extended by com.restfully.shop.services.FirstLastCustomerResource

public class FirstLastCustomerResource
extends Object

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
FirstLastCustomerResource()
           
 
Method Summary
 Response createCustomer(InputStream is)
           
 StreamingOutput getCustomer(String firstName, String lastName)
           
protected  void outputCustomer(OutputStream os, Customer cust)
           
protected  Customer readCustomer(InputStream is)
           
 void updateCustomer(String firstName, String lastName, InputStream is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FirstLastCustomerResource

public FirstLastCustomerResource()
Method Detail

getCustomer

public StreamingOutput getCustomer(String firstName,
                                   String lastName)

updateCustomer

public void updateCustomer(String firstName,
                           String lastName,
                           InputStream is)

createCustomer

public Response createCustomer(InputStream is)

outputCustomer

protected void outputCustomer(OutputStream os,
                              Customer cust)
                       throws IOException
Throws:
IOException

readCustomer

protected Customer readCustomer(InputStream is)


Copyright © 2011. All Rights Reserved.