@Path(value="chat") @Produces(value="application/json") public class ChatResource extends Object
| Constructor and Description |
|---|
ChatResource() |
@GET
@ManagedAsync
public void getMessage(@Suspended
javax.ws.rs.container.AsyncResponse ar)
throws InterruptedException
InterruptedException@POST @ManagedAsync public String postMessage(Message message) throws InterruptedException
InterruptedExceptionCopyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.