net.ontopia.topicmaps.webed.servlets
Class ProcessServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.ontopia.topicmaps.webed.servlets.ProcessServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public final class ProcessServlet
extends javax.servlet.http.HttpServlet

INTERNAL: Central entry point to the web application for processing a HTTP request and forwarding to the appropriate page depending on the executed actions.

See Also:
Serialized Form

Constructor Summary
ProcessServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          INTERNAL: Handles a HTTP GET request.
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          INTERNAL: Handles a HTTP POST request.
protected  void processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          INTERNAL: Internal method which is for handling all of the incoming HTTP requests.
 
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
 

Constructor Detail

ProcessServlet

public ProcessServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
INTERNAL: Handles a HTTP GET request.

Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   java.io.IOException
INTERNAL: Handles a HTTP POST request.

Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

processRequest

protected void processRequest(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response)
                       throws javax.servlet.ServletException,
                              java.io.IOException
INTERNAL: Internal method which is for handling all of the incoming HTTP requests. The following request parameters have to be available:

Note: See the action configuration file WEB-INF/config/actions.xml for more information.

Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2000-2012 Ontopia.