openlsd.web.client.LSDDeleteServletAction Class Reference
List of all members.
Detailed Description
Example module for getting a file from a LSD Server with native Servlet
- Author:
- Frederic Bregier LGPL
|
Public Member Functions |
void | init () throws UnavailableException |
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 | printResult (HttpServletRequest request, HttpServletResponse response, String message) throws IOException |
Static Private Attributes |
static final long | serialVersionUID = 3L |
Member Function Documentation
void openlsd.web.client.LSDDeleteServletAction.init |
( |
|
) |
throws UnavailableException |
Init procedure
- Exceptions:
-
void openlsd.web.client.LSDDeleteServletAction.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 openlsd.web.client.LSDDeleteServletAction.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 openlsd.web.client.LSDDeleteServletAction.quitInError |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response, |
|
|
String |
message | |
|
) |
| | throws IOException, ServletException [private] |
To generate an Output page in error
- Parameters:
-
- Exceptions:
-
| IOException | |
| ServletException | |
void openlsd.web.client.LSDDeleteServletAction.askForCommand |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response, |
|
|
LSDDbAdmin |
admin | |
|
) |
| | throws IOException [private] |
Get the Menu page
- Parameters:
-
- Exceptions:
-
| IOException | |
| ServletException | |
void openlsd.web.client.LSDDeleteServletAction.printResult |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response, |
|
|
String |
message | |
|
) |
| | throws IOException [private] |
Print final page result.
- Parameters:
-
- Exceptions:
-
Member Data Documentation
The documentation for this class was generated from the following file:
- OpenLSDWebImpl/WEB-INF/src/openlsd/web/client/LSDDeleteServletAction.java