|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.jersey.examples.serverasync.MessagingResource
@Path(value="message") public class MessagingResource
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.
| Constructor Summary | |
|---|---|
MessagingResource()
|
|
| Method Summary | |
|---|---|
void |
pickUpMessage(AsyncResponse ar)
|
void |
postMessage(AsyncResponse ar,
java.lang.String message)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessagingResource()
| Method Detail |
|---|
public void pickUpMessage(@Suspended
AsyncResponse ar)
public void postMessage(@Suspended
AsyncResponse ar,
java.lang.String message)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||