org.deegree.enterprise.servlet
Class SessionWMS
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.deegree.enterprise.servlet.SessionWMS
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class SessionWMS
- extends javax.servlet.http.HttpServlet
This servlet realizes a OGC:WMS that just offers one layer ('highlight') reading a geometry form session of
requesting user. The geometry to be painted must be stored in a session attribute named 'TEMP_WMS_GEOMETRY'.
Following init parameters ars upported:
- FILL: fill color for polygons (optional)
- STROKE: stroke color for lines (optional)
- PATTERN: fill pattern/image for polygon (if available FILL will be ignored) (optional)
- SYMBOL: symbol image for points (optional)
- Version:
- $Revision: 23726 $, $Date: 2010-04-21 16:33:32 +0200 (Mi, 21 Apr 2010) $
- Author:
- Andreas Poth, last edited by: $Author: apoth $
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
void |
init()
|
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 |
SessionWMS
public SessionWMS()
init
public void init()
throws javax.servlet.ServletException
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org