org.exoplatform.platform.common.account.setup.web
Class PingBackServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.exoplatform.platform.common.account.setup.web.PingBackServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class PingBackServlet
- extends javax.servlet.http.HttpServlet
- Author:
- Fbradai
- See Also:
- Serialized Form
| 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 |
LOOP_FUSE_FORM_DISPLAYED
public static final String LOOP_FUSE_FORM_DISPLAYED
- See Also:
- Constant Field Values
USER_HOME
public static final String USER_HOME
EXO_HOME_FOLDER
public static final String EXO_HOME_FOLDER
PING_BACK_FILE
public static final String PING_BACK_FILE
- See Also:
- Constant Field Values
PRODUCT_NAME
public static final String PRODUCT_NAME
- See Also:
- Constant Field Values
COMMUNITY_EDITION
public static final String COMMUNITY_EDITION
- See Also:
- Constant Field Values
PingBackServlet
public PingBackServlet()
init
public void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPost in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
isConnectedToInternet
public static boolean isConnectedToInternet()
writeToFile
public static void writeToFile(String key,
String value,
String fileLocation)
writePingBackFormDisplayed
public static void writePingBackFormDisplayed(boolean loopfuseFormDisplayed)
throws org.exoplatform.commons.info.MissingProductInformationException
- Throws:
org.exoplatform.commons.info.MissingProductInformationException
getPingBackFileLocation
public static String getPingBackFileLocation()
throws org.exoplatform.commons.info.MissingProductInformationException
- Throws:
org.exoplatform.commons.info.MissingProductInformationException
getPingBackUrl
public static String getPingBackUrl()
isLandingPageDisplayed
public static boolean isLandingPageDisplayed()
throws org.exoplatform.commons.info.MissingProductInformationException
- Throws:
org.exoplatform.commons.info.MissingProductInformationException
readFromFile
public static String readFromFile(String key,
String fileLocation)
throws org.exoplatform.commons.info.MissingProductInformationException
- Throws:
org.exoplatform.commons.info.MissingProductInformationException
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.