Class ChatResource
java.lang.Object
org.glassfish.jersey.examples.server.async.managed.ChatResource
Example of a simple fire&forget point-to-point messaging resource.
This version of the messaging resource does not block when POSTing a new message.
- Author:
- Marek Potociar
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChatResource
public ChatResource()
-
-
Method Details
-
getMessage
- Throws:
InterruptedException
-
postMessage
- Throws:
InterruptedException
-