|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
za.org.coefficient.servlet.CoefficientServlet
public class CoefficientServlet
The entry point for the Coefficient user calling http://www.xxx.net/index.html. This is a genuine servlet. When doGet(request, response) is called, everything is done from here.
Field Summary | |
---|---|
private CoefficientInterceptor |
interceptor
|
Constructor Summary | |
---|---|
CoefficientServlet()
|
Method Summary | |
---|---|
void |
addInterceptor(CoefficientInterceptor val)
|
void |
destroy()
Called by the servlet's container to indicate to the servlet that the servlet is being taken out of service. |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Called by the serlet container (via the service method) to allow a servlet to handle a GET request making this method the entry point for the Project Engine user. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Called by the servlet container to handle a POST request. |
private void |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates a Page instance and invokes the process method of the CoreMudule. |
void |
init(javax.servlet.ServletConfig cfg)
Called by the servlet container to indicate to a servlet that the servlet is being placed into service. |
private void |
initInterceptors()
|
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 |
---|
private CoefficientInterceptor interceptor
Constructor Detail |
---|
public CoefficientServlet()
Method Detail |
---|
public void addInterceptor(CoefficientInterceptor val)
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public void init(javax.servlet.ServletConfig cfg) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
cfg
- The ServletConfig instance used by the Servlet
container to the current servlet.
javax.servlet.ServletException
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
request
- The HttpServletRequest instance.response
- The HttpServletResponse instance.
javax.servlet.ServletException
java.io.IOException
execute(request,response) execute(request,response).
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
doGet(HttpServletRequest, HttpServletResponse)
private void execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
request
- The HttpServletRequest instance.response
- The HttpServletResponse instance.
javax.servlet.ServletException
java.io.IOException
private void initInterceptors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |