org.eclnt.jsfserver.polling

## Class LongPollingServlet

- java.lang.Object
- - HttpServlet
  - - org.eclnt.jsfserver.polling.LongPollingServlet

-     public class LongPollingServlet
      extends HttpServlet

  Servlet that allows to access buffered content instances via URL. The URL needs to contain the key of the buffered content, so that it can be resolved via the session context.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LongPollingServlet()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `doGet(HttpServletRequest req, HttpServletResponse resp)`
    `protected void` | `doPost(HttpServletRequest req, HttpServletResponse resp)`
    `static int` | `getThreadCounter()` Number of threads that are currently waiting for a result.
    `void` | `init()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LongPollingServlet

          public LongPollingServlet()

  - ### Method Detail

    - #### getThreadCounter

          public static int getThreadCounter()

      Number of threads that are currently waiting for a result.

    - #### init

          public void init()
                    throws ServletException

      Throws:
        `ServletException`

    - #### doGet

          public void doGet(HttpServletRequest req,
                            HttpServletResponse resp)
                     throws ServletException,
                            java.io.IOException

      Throws:
        `ServletException`
        `java.io.IOException`

    - #### doPost

          protected void doPost(HttpServletRequest req,
                                HttpServletResponse resp)
                         throws ServletException,
                                java.io.IOException

      Throws:
        `ServletException`
        `java.io.IOException`

Copyright © CaptainCasa Gmbh. All Rights Reserved.