com.softslate.commerce.customer.payment.google
Class CallbackAction
java.lang.Object
org.apache.struts.action.Action
com.softslate.commerce.customer.core.BaseAction
com.softslate.commerce.customer.payment.google.CallbackAction
public class CallbackAction
- extends BaseAction
Action class to handle the callback notifications from Google Checkout,
following a Google Checkout session. This action get invoked everytime
whenever there is any callback notification from google.
- Author:
- ajain,jmcwill,dtobey
|
Field Summary |
(package private) static org.apache.commons.logging.Log |
log
|
| Fields inherited from class org.apache.struts.action.Action |
servlet |
|
Method Summary |
protected AbstractNotificationProcessor |
createProcessor(BaseForm baseForm,
java.lang.String notification)
|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
com.google.checkout.MerchantConstants |
initMerchantConstants(javax.servlet.http.HttpServletRequest request)
|
protected java.lang.String |
readNotificationBody(java.io.InputStream inputStream)
|
| Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.apache.commons.logging.Log log
CallbackAction
public CallbackAction()
execute
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Overrides:
execute in class org.apache.struts.action.Action
- Throws:
java.lang.Exception
createProcessor
protected AbstractNotificationProcessor createProcessor(BaseForm baseForm,
java.lang.String notification)
throws java.lang.Exception
- Throws:
java.lang.Exception
initMerchantConstants
public com.google.checkout.MerchantConstants initMerchantConstants(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
- Throws:
java.lang.Exception
readNotificationBody
protected java.lang.String readNotificationBody(java.io.InputStream inputStream)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © SoftSlate, LLC 20032010