|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.jersey.examples.server.async.SimpleLongRunningResource
@Path(value="async/longrunning") public class SimpleLongRunningResource
Example of a simple resource with a long-running operation executed in a custom application thread.
| Field Summary | |
|---|---|
static java.lang.String |
NOTIFICATION_RESPONSE
|
| Constructor Summary | |
|---|---|
SimpleLongRunningResource()
|
|
| Method Summary | |
|---|---|
void |
longGet(AsyncResponse ar)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NOTIFICATION_RESPONSE
| Constructor Detail |
|---|
public SimpleLongRunningResource()
| Method Detail |
|---|
public void longGet(@Suspended
AsyncResponse ar)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||