org.richfaces.application.push

## Interface Request

- All Known Implementing Classes:
    RequestImpl

      public interface Request

  Request encapsulates active browser request to the server.
  Author:
    Nick Belaevski

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Session` | `getSession()` Returns a user push session associated with this request
    `boolean` | `isPolling()` Returns true if this request represents long-polling request
    `void` | `postMessages()` Tries to push messages, when there are some in the session's queue.
    `void` | `resume()` Resume the underlying response object
    `void` | `suspend()` suspends an underlying response object

- - ### Method Detail

    - #### suspend

          void suspend()

      suspends an underlying response object

    - #### resume

          void resume()

      Resume the underlying response object

    - #### getSession

          Session getSession()

      Returns a user push session associated with this request

    - #### isPolling

          boolean isPolling()

      Returns true if this request represents long-polling request

    - #### postMessages

          void postMessages()

      Tries to push messages, when there are some in the session's queue.

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.