com.google.checkout.web
Class CheckoutHandlerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.checkout.web.CheckoutHandlerServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class CheckoutHandlerServlet
- extends javax.servlet.http.HttpServlet
- Author:
- Charles Dang (cdang@google.com)
- See Also:
- Serialized Form
Method Summary |
void |
dispatch(org.w3c.dom.Document xmlDocument,
javax.servlet.http.HttpServletResponse response)
|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP GET method. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP POST method. |
void |
init(javax.servlet.ServletConfig config)
|
void |
setCheckoutXmlProcessor(CheckoutXmlProcessor processor)
|
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, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
merchantInfo
protected MerchantInfo merchantInfo
CheckoutHandlerServlet
public CheckoutHandlerServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Handles the HTTP
GET
method.
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Parameters:
request
- servlet requestresponse
- servlet response
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Handles the HTTP
POST
method.
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Parameters:
request
- servlet requestresponse
- servlet response
- Throws:
javax.servlet.ServletException
java.io.IOException
dispatch
public void dispatch(org.w3c.dom.Document xmlDocument,
javax.servlet.http.HttpServletResponse response)
setCheckoutXmlProcessor
public void setCheckoutXmlProcessor(CheckoutXmlProcessor processor)