|
void | service (HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException |
|
void | processRequest (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |
|
void | doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |
|
void | doPost (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |
|
- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
- Version
Definition at line 43 of file ContextServlet.java.
◆ destroy()
void org.turro.elephant.servlet.context.ContextServlet.destroy |
( |
| ) |
|
◆ doGet()
void org.turro.elephant.servlet.context.ContextServlet.doGet |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response |
|
) |
| throws ServletException, IOException |
|
protected |
Handles the HTTP GET
method.
- Parameters
-
request | servlet request |
response | servlet response |
Definition at line 82 of file ContextServlet.java.
void processRequest(HttpServletRequest request, HttpServletResponse response)
◆ doPost()
void org.turro.elephant.servlet.context.ContextServlet.doPost |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response |
|
) |
| throws ServletException, IOException |
|
protected |
Handles the HTTP POST
method.
- Parameters
-
request | servlet request |
response | servlet response |
Definition at line 91 of file ContextServlet.java.
◆ getServletInfo()
String org.turro.elephant.servlet.context.ContextServlet.getServletInfo |
( |
| ) |
|
Returns a short description of the servlet.
Definition at line 98 of file ContextServlet.java.
99 return "Context servlet for Elephant";
◆ processRequest()
void org.turro.elephant.servlet.context.ContextServlet.processRequest |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response |
|
) |
| throws ServletException, IOException |
|
protected |
Definition at line 51 of file ContextServlet.java.
52 if(DirectContents.isDirectContent(request)) {
53 DirectContents.executeDirectContents(getServletContext(), request, response);
56 IConstructor constructor = ElephantContext.getConstructor(request, response);
57 HeadlessApplication.getInstance(constructor);
58 Initializers.initialize(constructor);
59 if(IAgreements.checkAgreements(request, response)) {
60 if(ElephantContext.getUseSSO() && SSO.hasSSO(request) && constructor.getUser() ==
null) {
61 SSO.getSSO().navigateAuthenticatedTo(constructor.getRequest(), constructor.getResponse());
63 if(!Interceptors.executeWeb(constructor)) {
64 constructor.startConstruction();
◆ service()
void org.turro.elephant.servlet.context.ContextServlet.service |
( |
HttpServletRequest |
req, |
|
|
HttpServletResponse |
resp |
|
) |
| throws ServletException, IOException |
|
protected |
Definition at line 46 of file ContextServlet.java.
47 req.setAttribute(
"el_app",
new ElephantApplication(req, resp));
48 super.service(req, resp);
The documentation for this class was generated from the following file: