org.gwe.app.client.web.servlet
Class GWEServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.gwe.app.client.web.servlet.GWEServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- GridInfoServlet, GWEClusterSelectedServlet
public abstract class GWEServlet
- extends javax.servlet.http.HttpServlet
- Since:
- Dec 13, 2008
- Author:
- Marco Ruiz
- See Also:
- Serialized Form
Constructor Summary |
GWEServlet(java.lang.String context)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, 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 |
GWEServlet
public GWEServlet(java.lang.String context)
setMainTemplate
public void setMainTemplate(MainVelocityTemplate mainTemplate)
throws java.io.IOException
- Throws:
java.io.IOException
getConfig
protected ClientConfig getConfig()
getTemplateName
protected java.lang.String getTemplateName()
getContextRelativePath
public java.lang.String getContextRelativePath()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
createPageModel
protected PageModel createPageModel(javax.servlet.http.HttpServletRequest request)
- Default implementation
- Parameters:
request
-
- Returns:
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2007-2009. All Rights Reserved.