asit.framework.servlet
Class BackEndServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byasit.framework.servlet.BackEndServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public abstract class BackEndServlet
extends HttpServlet

Author:
troessler
See Also:
Serialized Form

Field Summary
protected  ContentFactory contentFacotryImpl_
           
protected  boolean debugMode_
           
protected  ServletConfig globalServletConfig_
           
protected  String serverAddress_
           
 
Constructor Summary
BackEndServlet()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
 void doPost(HttpServletRequest request, HttpServletResponse response)
           
 String getRealPath(String filename)
           
 void init(ServletConfig config)
          servlet initialization
protected abstract  ContentFactory setContentFacotryImpl()
           
protected  void setServerAddress(String serverAddress)
           
 
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
 

Field Detail

serverAddress_

protected String serverAddress_

debugMode_

protected boolean debugMode_

contentFacotryImpl_

protected ContentFactory contentFacotryImpl_

globalServletConfig_

protected ServletConfig globalServletConfig_
Constructor Detail

BackEndServlet

public BackEndServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
servlet initialization

Throws:
ServletException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws IOException,
                  ServletException
Throws:
IOException
ServletException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   IOException
Throws:
IOException
ServletException

setServerAddress

protected void setServerAddress(String serverAddress)

setContentFacotryImpl

protected abstract ContentFactory setContentFacotryImpl()
                                                 throws Exception
Throws:
Exception

getRealPath

public String getRealPath(String filename)
Parameters:
filename -
Returns:


Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.