edu.rice.rubis.servlets
Class StoreComment
edu.rice.rubis.servlets.RubisHttpServlet
|
+--edu.rice.rubis.servlets.StoreComment
- public class StoreComment
- extends RubisHttpServlet
This servlets records a comment in the database and display
the result of the transaction.
It must be called this way :
http://..../StoreComment?itemId=aa&userId=bb&minComment=cc&maxQty=dd&comment=ee&maxComment=ff&qty=gg
where: aa is the item id
bb is the user id
cc is the minimum acceptable comment for this item
dd is the maximum quantity available for this item
ee is the user comment
ff is the maximum comment the user wants
gg is the quantity asked by the user
/
- Version:
- 1.0
- Author:
- Emmanuel Cecchet and Julie Marguerite
Method Summary |
void |
destroy()
Clean up the connection pool. |
void |
doGet(edu.rice.rubis.servlets.HttpServletRequest request,
edu.rice.rubis.servlets.HttpServletResponse response)
|
void |
doPost(edu.rice.rubis.servlets.HttpServletRequest request,
edu.rice.rubis.servlets.HttpServletResponse response)
|
int |
getPoolSize()
|
StoreComment
public StoreComment()
getPoolSize
public int getPoolSize()
- Overrides:
getPoolSize
in class RubisHttpServlet
doGet
public void doGet(edu.rice.rubis.servlets.HttpServletRequest request,
edu.rice.rubis.servlets.HttpServletResponse response)
throws java.io.IOException,
edu.rice.rubis.servlets.ServletException
- Overrides:
doGet
in class RubisHttpServlet
doPost
public void doPost(edu.rice.rubis.servlets.HttpServletRequest request,
edu.rice.rubis.servlets.HttpServletResponse response)
throws java.io.IOException,
edu.rice.rubis.servlets.ServletException
- Overrides:
doPost
in class RubisHttpServlet
destroy
public void destroy()
- Clean up the connection pool.
- Overrides:
destroy
in class RubisHttpServlet
Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.