org.gwe.app.client.web.servlet
Class GWEServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by 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)
           
 
Method Summary
protected  PageModel createPageModel(javax.servlet.http.HttpServletRequest request)
          Default implementation
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  ClientConfig getConfig()
           
 java.lang.String getContextRelativePath()
           
protected  java.lang.String getTemplateName()
           
static void main(java.lang.String[] args)
           
 void setMainTemplate(MainVelocityTemplate mainTemplate)
           
 
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
 

Constructor Detail

GWEServlet

public GWEServlet(java.lang.String context)
Method Detail

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.