za.org.coefficient.servlet
Class HardURLConverterServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
za.org.coefficient.servlet.HardURLConverterServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class HardURLConverterServlet
- extends javax.servlet.http.HttpServlet
This servlet translates a hard URL to syntax that the coefficient
servlet and a given module can understand. This servlet passes the incomming
URL through a chain of responsibility to allow any modules that think they
can handle the URL to do so.
- Version:
- $Revision: 1.2 $
- Author:
- Dylan Etkin
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Entry point for converting a Hard URL to a coefficient URL. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Called by the servlet container to handle a POST request. |
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, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HardURLConverterServlet
public HardURLConverterServlet()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Entry point for converting a Hard URL to a coefficient URL.
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Parameters:
request
- The HttpServletRequest instance.response
- The HttpServletResponse instance.
- Throws:
javax.servlet.ServletException
java.io.IOException
- See Also:
execute(request,response) execute(request,response).
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Called by the servlet container to handle a POST request. This
method calls doGet(request, response) to perform the job.
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
- See Also:
doGet(HttpServletRequest, HttpServletResponse)
Copyright CSIR. All Rights Reserved.