|
|
||||||||
| 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
corelib.services.web.webapplications.ControllerServlet
public class ControllerServlet
This controller receives all requests on web pages or web services. The controller's responsibility is to transfer the execution on the correct class, depending on the requested resource.
| Constructor Summary | |
|---|---|
ControllerServlet()
Ellipse controller servlet constructor. |
|
| Method Summary | |
|---|---|
static WebApplication |
getApplication()
Returns the WebApplication instance associated to this application. |
static javax.servlet.ServletContext |
getHttpContext()
Returns the ServletContext associated to this web application. |
static ControllerServlet |
getInstance()
Returns the Ellipse controller for this application. |
static javax.servlet.http.HttpServletRequest |
getRequestForCurrentThread()
Returns the HTTP servlet request associated to the calling thread. |
static javax.servlet.http.HttpServletResponse |
getResponseForCurrentThread()
Returns the HTTP servlet response associated to the calling thread. |
static javax.servlet.http.HttpSession |
getSessionForCurrentThread()
Returns the HTTP session associated to the calling thread. |
void |
init()
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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 |
| Constructor Detail |
|---|
public ControllerServlet()
throws java.lang.Exception
java.lang.Exception - Thrown if DOM builder factory cannot be instanciated.| Method Detail |
|---|
public static javax.servlet.http.HttpServletRequest getRequestForCurrentThread()
public static javax.servlet.http.HttpServletResponse getResponseForCurrentThread()
public static javax.servlet.http.HttpSession getSessionForCurrentThread()
public static javax.servlet.ServletContext getHttpContext()
public static WebApplication getApplication()
public static ControllerServlet getInstance()
public void init()
init in class javax.servlet.GenericServlet
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
service in class javax.servlet.http.HttpServletjava.io.IOException
javax.servlet.ServletException
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||