Servlet for communication with clients (annotation editors)
More...
|
void | doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |
|
void | doPost (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |
|
Servlet for communication with clients (annotation editors)
Servlet for communication with clients (annotation editors)
- Author
- idytrych
Definition at line 49 of file AnnotCometServlet.java.
void cz.vutbr.fit.knot.annotations.comet.AnnotCometServlet.doGet |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response |
|
) |
| throws ServletException, IOException |
|
protected |
Handles the HTTP GET
method. This method is dedicated for comet requests. Session id is sent as URI parameter "session".
- Parameters
-
request | servlet request |
response | servlet response |
- Exceptions
-
ServletException | if a servlet-specific error occurs |
IOException | if an I/O error occurs |
Definition at line 298 of file AnnotCometServlet.java.
void cz.vutbr.fit.knot.annotations.comet.AnnotCometServlet.doPost |
( |
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response |
|
) |
| throws ServletException, IOException |
|
protected |
Handles the HTTP POST
method. If only one message (session) is sent, this is comet request, else this is AJAX request.
- Parameters
-
request | servlet request |
response | servlet response |
- Exceptions
-
ServletException | if a servlet-specific error occurs |
IOException | if an I/O error occurs |
Definition at line 391 of file AnnotCometServlet.java.
String cz.vutbr.fit.knot.annotations.comet.AnnotCometServlet.getServletInfo |
( |
| ) |
|
Returns a short description of the servlet.
- Returns
- a String containing servlet description
Definition at line 603 of file AnnotCometServlet.java.
void cz.vutbr.fit.knot.annotations.comet.AnnotCometServlet.init |
( |
ServletConfig |
config | ) |
throws ServletException |
String cz.vutbr.fit.knot.annotations.comet.AnnotCometServlet.contextPath = null |
|
private |
The documentation for this class was generated from the following file: