Compiere 3.1

org.compiere.wstore
Class InfoServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.compiere.wstore.InfoServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class InfoServlet
extends HttpServlet

Web Store Subscription Info. https://ws-jj/wstore/infoServlet?mode=subscribe&area=101&contact=1000000 http://ws-jj/wstore/infoServlet?mode=subscribe&area=101&contact=1000000

Version:
$Id: InfoServlet.java,v 1.2 2006/07/30 00:53:21 jjanke Exp $
Author:
Jorg Janke
See Also:
Serialized Form

Constructor Summary
InfoServlet()
           
 
Method Summary
 void destroy()
          Clean up resources
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Process the initial HTTP Get request.
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Post request.
 String getServletInfo()
          Get Servlet information
 void init(ServletConfig config)
          Initialize global variables
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoServlet

public InfoServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Initialize global variables

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Parameters:
config - servlet configuration
Throws:
ServletException

getServletInfo

public String getServletInfo()
Get Servlet information

Specified by:
getServletInfo in interface Servlet
Overrides:
getServletInfo in class GenericServlet
Returns:
Info

destroy

public void destroy()
Clean up resources

Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Process the initial HTTP Get request. Reads the Parameter mode and subscribes/unsubscribes

Overrides:
doGet in class HttpServlet
Parameters:
request - request
response - response
Throws:
ServletException
IOException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   IOException
Process the HTTP Post request.

Overrides:
doPost in class HttpServlet
Parameters:
request - request
response - response
Throws:
ServletException
IOException

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.