PageBox
Class HTTPDeploy

java.lang.Object
  extended byHttpServlet
      extended byPageBox.HTTPDeploy

public class HTTPDeploy
extends HttpServlet

Web service server for raw HTTP.

Changes:

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 1, 0
Author:
Alexis Grandemange
See Also:
Serialized Form

Field Summary
(package private)  DeployImpl di
          DeployImpl defined as a member variable to follow the Web service semantic
 
Constructor Summary
HTTPDeploy()
           
 
Method Summary
private  void add(HttpServletResponse response, HTTPLog hl)
          ADD handling.
private  void delete(HttpServletResponse response, HTTPLog hl)
          DELETE handling.
 void destroy()
          Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.
 void doGet(HttpServletRequest request, HttpServletResponse response)
          GET request handling.
 void doPost(HttpServletRequest request, HttpServletResponse response)
          POST request handling.
private  void frameSend(HttpServletResponse response, HTTPLog hl)
          FRAMESEND handling.
private  void getArchPath(HttpServletResponse response, HTTPLog hl)
          GETARCHPATH handling.
private  void getAudit(HttpServletResponse response, HTTPLog hl)
          GETAUDIT handling.
 void init(ServletConfig config)
          Invoked by Servlet container.
private  void rename(HttpServletResponse response, HTTPLog hl)
          RENAME handling.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

di

DeployImpl di
DeployImpl defined as a member variable to follow the Web service semantic

Constructor Detail

HTTPDeploy

public HTTPDeploy()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Invoked by Servlet container.

Throws:
ServletException

destroy

public void destroy()
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.


doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  java.io.IOException
GET request handling. Informs the user that GET is not supported.

Parameters:
request - HttpServletRequest.
response - HttpServletResponse.
Throws:
ServletException
java.io.IOException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   java.io.IOException
POST request handling.

Parameters:
request - HttpServletRequest.
response - HttpServletResponse.
Throws:
ServletException
java.io.IOException

add

private void add(HttpServletResponse response,
                 HTTPLog hl)
          throws ServletException,
                 java.io.IOException
ADD handling.

Parameters:
response - response object
hl - object used to trace messages
Throws:
ServletException
java.io.IOException

delete

private void delete(HttpServletResponse response,
                    HTTPLog hl)
             throws ServletException,
                    java.io.IOException
DELETE handling.

Parameters:
response - response object
hl - object used to trace messages
Throws:
ServletException
java.io.IOException

rename

private void rename(HttpServletResponse response,
                    HTTPLog hl)
             throws ServletException,
                    java.io.IOException
RENAME handling.

Parameters:
response - response object
hl - object used to trace messages
Throws:
ServletException
java.io.IOException

getArchPath

private void getArchPath(HttpServletResponse response,
                         HTTPLog hl)
                  throws ServletException,
                         java.io.IOException
GETARCHPATH handling.

Parameters:
response - response object
hl - object used to trace messages
Throws:
ServletException
java.io.IOException

getAudit

private void getAudit(HttpServletResponse response,
                      HTTPLog hl)
               throws ServletException,
                      java.io.IOException
GETAUDIT handling.

Parameters:
response - response object
hl - object used to trace messages
Throws:
ServletException
java.io.IOException

frameSend

private void frameSend(HttpServletResponse response,
                       HTTPLog hl)
                throws ServletException,
                       java.io.IOException
FRAMESEND handling.

Parameters:
response - response object
hl - object used to trace messages
Throws:
ServletException
java.io.IOException