KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > magnolia > cms > servlets > Exchange


1 /**
2  *
3  * Magnolia and its source-code is licensed under the LGPL.
4  * You may copy, adapt, and redistribute this file for commercial or non-commercial use.
5  * When copying, adapting, or redistributing this document in keeping with the guidelines above,
6  * you are required to provide proper attribution to obinary.
7  * If you reproduce or distribute the document without making any substantive modifications to its content,
8  * please use the following attribution line:
9  *
10  * Copyright 1993-2005 obinary Ltd. (http://www.obinary.com) All rights reserved.
11  *
12  */

13 package info.magnolia.cms.servlets;
14
15 import java.io.IOException JavaDoc;
16
17 import javax.servlet.ServletException JavaDoc;
18 import javax.servlet.http.HttpServlet JavaDoc;
19 import javax.servlet.http.HttpServletRequest JavaDoc;
20 import javax.servlet.http.HttpServletResponse JavaDoc;
21
22
23 /**
24  * @author Sameer Charles
25  * @version 2.0
26  */

27 public class Exchange extends HttpServlet JavaDoc {
28
29     /**
30      * Stable serialVersionUID.
31      */

32     private static final long serialVersionUID = 222L;
33
34     /**
35      * <p>
36      * receives either XML or binary packet XMLpacket is expected to be the main structure and must be reveived before
37      * any "sub" binary packets
38      * </p>
39      * @param request
40      * @param response
41      * @throws ServletException
42      * @throws IOException
43      */

44     public void doGet(HttpServletRequest JavaDoc request, HttpServletResponse JavaDoc response) throws ServletException JavaDoc, IOException JavaDoc {
45     }
46
47     /**
48      * @param request
49      * @param response
50      * @throws ServletException
51      * @throws IOException
52      */

53     public void doPost(HttpServletRequest JavaDoc request, HttpServletResponse JavaDoc response) throws ServletException JavaDoc, IOException JavaDoc {
54         doGet(request, response);
55     }
56 }
57
Popular Tags