|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.jersey.examples.server.async.managed.SimpleJerseyExecutorManagedLongRunningResource
@Path(value="managedasync/longrunning") @Produces(value="text/plain") public class SimpleJerseyExecutorManagedLongRunningResource
Example of a simple resource with a long-running operation executed in a custom Jersey container request processing thread.
| Field Summary | |
|---|---|
static java.lang.String |
NOTIFICATION_RESPONSE
|
| Constructor Summary | |
|---|---|
SimpleJerseyExecutorManagedLongRunningResource()
|
|
| Method Summary | |
|---|---|
void |
longGet(AsyncResponse ar,
int requestId)
|
| 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 SimpleJerseyExecutorManagedLongRunningResource()
| Method Detail |
|---|
@GET
@ManagedAsync
public void longGet(@Suspended
AsyncResponse ar,
@QueryParam(value="id")
int requestId)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||