org.jboss.example.jaxrs2.async

## Class ChatListener

- java.lang.Object
- - org.jboss.example.jaxrs2.async.ChatListener

-     @Path(value="/listener")
      public class ChatListener
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ChatListener(List<AsyncResponse> listeners)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `listen(AsyncResponse res)`
    `String` | `ping()`

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

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

- - ### Constructor Detail

    - #### ChatListener

          public ChatListener(List<AsyncResponse> listeners)

  - ### Method Detail

    - #### ping

          @GET
          @Path(value="ping")
          @Produces(value="text/plain")
          public String ping()

    - #### listen

          @GET
          public void listen(@Suspended
                        AsyncResponse res)

Copyright © 2014. All Rights Reserved.