org.glassfish.jersey.examples.server.async
Class LongRunningAsyncOperationResource
java.lang.Object
org.glassfish.jersey.examples.server.async.LongRunningAsyncOperationResource
public class LongRunningAsyncOperationResource
- extends java.lang.Object
Example resource for long running async operations.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOTIFICATION_RESPONSE
public static final java.lang.String NOTIFICATION_RESPONSE
- See Also:
- Constant Field Values
LongRunningAsyncOperationResource
public LongRunningAsyncOperationResource()
basicSyncExample
@Path(value="basicSyncExample")
public java.lang.String basicSyncExample()
suspendViaContextExample
@Path(value="async")
public void suspendViaContextExample(@Suspended
AsyncResponse ar,
java.lang.String query)
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.