com.andreani.xtol.proxy
Class ForwServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--com.andreani.xtol.proxy.ForwServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class ForwServlet
extends HttpServlet

This is

Version:
1.0
Author:
Stefano Andreani
See Also:
Serialized Form

Field Summary
protected  Category cat
          Log handler (Log4Java)
protected  Hashtable serverAddr
          This local cache contains the mapping between global session id and destination server address of each client.
 
Constructor Summary
ForwServlet()
          Constructor for the ForwServlet object
 
Method Summary
 void destroy()
           
 void doGet(HttpServletRequest req, HttpServletResponse resp)
           
 void doPost(HttpServletRequest req, HttpServletResponse resp)
           
 void init()
          Servlet initializzation
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
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

cat

protected Category cat
Log handler (Log4Java)

serverAddr

protected Hashtable serverAddr
This local cache contains the mapping between global session id and destination server address of each client.
Constructor Detail

ForwServlet

public ForwServlet()
Constructor for the ForwServlet object
Method Detail

init

public void init()
          throws ServletException
Servlet initializzation
Overrides:
init in class GenericServlet
Throws:
ServletException - Exception thrown by init

destroy

public void destroy()
Overrides:
destroy in class GenericServlet

doPost

public void doPost(HttpServletRequest req,
                   HttpServletResponse resp)
            throws ServletException,
                   IOException
Overrides:
doPost in class HttpServlet

doGet

public void doGet(HttpServletRequest req,
                  HttpServletResponse resp)
           throws ServletException,
                  IOException
Overrides:
doGet in class HttpServlet


Copyright © 2001 Stefano Andreani - No Rights Reserved ;-)