openlsd.web.client.LSDDeleteServletAction Class Reference

Inheritance diagram for openlsd.web.client.LSDDeleteServletAction:

Inheritance graph
[legend]
Collaboration diagram for openlsd.web.client.LSDDeleteServletAction:

Collaboration graph
[legend]

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:
UnavailableException 

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:
message 
Exceptions:
IOException 
ServletException 

void openlsd.web.client.LSDDeleteServletAction.askForCommand ( HttpServletRequest  request,
HttpServletResponse  response,
LSDDbAdmin  admin 
) throws IOException [private]

Get the Menu page

Parameters:
request 
response 
admin 
Exceptions:
IOException 
ServletException 

void openlsd.web.client.LSDDeleteServletAction.printResult ( HttpServletRequest  request,
HttpServletResponse  response,
String  message 
) throws IOException [private]

Print final page result.

Parameters:
request 
response 
message 
Exceptions:
IOException 


Member Data Documentation

Identifiant unique


The documentation for this class was generated from the following file: