Class BlockingPostChatResource

java.lang.Object
org.glassfish.jersey.examples.server.async.BlockingPostChatResource

@Path("async/messaging/blocking") @Produces("text/plain") @Consumes("text/plain") public class BlockingPostChatResource extends Object
Example of a simple blocking point-to-point messaging resource. This version of the messaging resource blocks when POSTing a new message until the message is retrieved.
Author:
Marek Potociar