deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.enterprise.servlet
Class OWSWatch

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.deegree.enterprise.servlet.OWSWatch
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class OWSWatch
extends javax.servlet.http.HttpServlet

The owsWatch Servlet to handle the request of the owswatch portal

Version:
$Revision: 1.3 $, $Date: 2008-03-20 16:33:27 $
Author:
ncho, last edited by: $Author: elmasry $
See Also:
Serialized Form

Constructor Summary
OWSWatch()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void init()
           
protected  boolean isLoggedIn(javax.servlet.http.HttpServletRequest request)
          Verifies that this user is loggedin through comparing the session ID from the request paarameter with that saved in the session
 
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
 

Constructor Detail

OWSWatch

public OWSWatch()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
Overrides:
doPost in class javax.servlet.http.HttpServlet

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
Overrides:
doGet in class javax.servlet.http.HttpServlet

isLoggedIn

protected boolean isLoggedIn(javax.servlet.http.HttpServletRequest request)
Verifies that this user is loggedin through comparing the session ID from the request paarameter with that saved in the session

Parameters:
request -
Returns:
true if the user is loggedin, false otherwise

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org