|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectHttpServlet
Repository.HTTPQuery
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.
Field Summary | |
(package private) RepoQueryImpl |
rqi
RepoQueryImpl defined as a member variable to follow the Web service semantic |
Constructor Summary | |
HTTPQuery()
|
Method Summary | |
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(java.lang.String user,
HttpServletResponse response,
HTTPLog hl)
FRAMESEND handling. |
private void |
GetSubscribers(java.lang.String user,
HttpServletResponse response,
HTTPLog hl)
GETSUBSCRIBERS handling. |
void |
init(ServletConfig config)
Invoked by Servlet container. |
private void |
Notify(java.lang.String user,
HttpServletResponse response,
HTTPLog hl)
NOTIFY handling. |
private void |
NotifyFix(java.lang.String user,
HttpServletResponse response,
HTTPLog hl)
NOTIFYFIX handling. |
private void |
tokenRegister(java.lang.String user,
HttpServletResponse response,
HTTPLog hl)
TKREGISTER handling. |
private void |
tokenUnregister(java.lang.String user,
HttpServletResponse response,
HTTPLog hl)
TKUNREGISTER handling. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
RepoQueryImpl rqi
Constructor Detail |
public HTTPQuery()
Method Detail |
public void init(ServletConfig config) throws ServletException
ServletException
public void destroy()
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
request
- HttpServletRequest.response
- HttpServletResponse.
ServletException
java.io.IOException
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
request
- HttpServletRequest.response
- HttpServletResponse.
ServletException
java.io.IOException
private void GetSubscribers(java.lang.String user, HttpServletResponse response, HTTPLog hl) throws ServletException, java.io.IOException
response
- response objecthl
- object used to trace messages
ServletException
java.io.IOException
private void Notify(java.lang.String user, HttpServletResponse response, HTTPLog hl) throws ServletException, java.io.IOException
response
- response objecthl
- object used to trace messages
ServletException
java.io.IOException
private void NotifyFix(java.lang.String user, HttpServletResponse response, HTTPLog hl) throws ServletException, java.io.IOException
response
- response objecthl
- object used to trace messages
ServletException
java.io.IOException
private void frameSend(java.lang.String user, HttpServletResponse response, HTTPLog hl) throws ServletException, java.io.IOException
response
- response objecthl
- object used to trace messages
ServletException
java.io.IOException
private void tokenRegister(java.lang.String user, HttpServletResponse response, HTTPLog hl) throws ServletException, java.io.IOException
response
- response objecthl
- object used to trace messages
ServletException
java.io.IOException
private void tokenUnregister(java.lang.String user, HttpServletResponse response, HTTPLog hl) throws ServletException, java.io.IOException
response
- response objecthl
- object used to trace messages
ServletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |