com.restfully.shop.services
Class FirstLastCustomerResource

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

public class FirstLastCustomerResource
extends java.lang.Object

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
FirstLastCustomerResource()
           
 
Method Summary
 javax.ws.rs.core.Response createCustomer(java.io.InputStream is)
           
 javax.ws.rs.core.StreamingOutput getCustomer(java.lang.String firstName, java.lang.String lastName)
           
protected  void outputCustomer(java.io.OutputStream os, Customer cust)
           
protected  Customer readCustomer(java.io.InputStream is)
           
 void updateCustomer(java.lang.String firstName, java.lang.String lastName, java.io.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 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.