openlsm.web.client.LSMPoolGetServletAction Class Reference
List of all members.
Detailed Description
Example module for getting a file from a pooled connection to the LSD Server with native Servlet for OpenLSM Support. No OpenLDAP or similar action is done since it is out of the scope of the current example. But of course, a reasonable implementation should verify who is asking an email in order to ensure privacy.
- Author:
- Frederic Bregier LGPL
|
Public Member Functions |
void | init () throws UnavailableException |
void | destroy () |
void | doPost (HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException |
void | doGet (HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException |
Private Member Functions |
void | quitInError (HttpServletRequest request, HttpServletResponse response, String message) throws IOException, ServletException |
void | askForCommand (HttpServletRequest request, HttpServletResponse response, LSDDbAdmin admin) throws IOException |
void | askForList (HttpServletRequest request, HttpServletResponse response, LSDDbAdmin admin) throws IOException, ServletException |
Static Private Attributes |
static final long | serialVersionUID = 3L |
Member Function Documentation
void openlsm.web.client.LSMPoolGetServletAction.init |
( |
|
) |
throws UnavailableException |
Init procedure
- Exceptions:
-
void openlsm.web.client.LSMPoolGetServletAction.destroy |
( |
|
) |
|
Destroy this service at Tomcat stop or Application stop (non-Javadoc)
- See also:
- javax.servlet.GenericServlet.destroy()
void openlsm.web.client.LSMPoolGetServletAction.doPost |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response | |
|
) |
| | throws IOException, ServletException |
Respond to a POST request for the content produced by this servlet.
- Parameters:
-
| request | la requête HTTP du client |
| response | la réponse HTTP qu'on va construire |
void openlsm.web.client.LSMPoolGetServletAction.doGet |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response | |
|
) |
| | throws IOException, ServletException |
Respond to a GET request for the content produced by this servlet.
- Parameters:
-
| request | The servlet request we are processing |
| response | The servlet response we are producing |
- Exceptions:
-
| IOException | if an input/output error occurs |
| ServletException | if a servlet error occurs |
void openlsm.web.client.LSMPoolGetServletAction.quitInError |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response, |
|
|
String |
message | |
|
) |
| | throws IOException, ServletException [private] |
To generate an Output page in error
- Parameters:
-
- Exceptions:
-
| IOException | |
| ServletException | |
void openlsm.web.client.LSMPoolGetServletAction.askForCommand |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response, |
|
|
LSDDbAdmin |
admin | |
|
) |
| | throws IOException [private] |
Get the Menu page
- Parameters:
-
- Exceptions:
-
| IOException | |
| ServletException | |
void openlsm.web.client.LSMPoolGetServletAction.askForList |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response, |
|
|
LSDDbAdmin |
admin | |
|
) |
| | throws IOException, ServletException [private] |
Get the Menu page
- Parameters:
-
- Exceptions:
-
| IOException | |
| ServletException | |
Member Data Documentation
The documentation for this class was generated from the following file:
- OpenLSDWebImpl/WEB-INF/src/openlsm/web/client/LSMPoolGetServletAction.java