@Path(value="/")
public class ChatResource
extends java.lang.Object
| Constructor and Description |
|---|
ChatResource() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
broadcast(Message message)
Broadcast the received message object to all suspended response.
|
java.lang.String |
suspend()
Suspend the response without writing anything back to the client.
|
Copyright © 2018. All Rights Reserved.