edu.rice.rubis.beans.servlets
Class BuyNowAuth
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--edu.rice.rubis.beans.servlets.BuyNowAuth
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class BuyNowAuth
- extends javax.servlet.http.HttpServlet
This servlets display the page authentifying the user
to allow him to put a buy an item at the "buy now" price.
It must be called this way :
http://..../BuyNowAuth?itemId=xx where xx is the id of the item
- Version:
- 1.0
- Author:
- Emmanuel Cecchet and Julie Marguerite
- See Also:
- Serialized Form
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Display the web page with the form to authenticate the user |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Call the doGet method |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuyNowAuth
public BuyNowAuth()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Display the web page with the form to authenticate the user
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Parameters:
request
- a HttpServletRequest
valueresponse
- a HttpServletResponse
value- Throws:
java.io.IOException
- if an error occursjavax.servlet.ServletException
- if an error occurs
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Call the doGet method
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Parameters:
request
- a HttpServletRequest
valueresponse
- a HttpServletResponse
value- Throws:
java.io.IOException
- if an error occursjavax.servlet.ServletException
- if an error occurs
Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.