org.glassfish.jersey.examples.serverasync
Class SimpleLongRunningResource

java.lang.Object
  extended by org.glassfish.jersey.examples.serverasync.SimpleLongRunningResource

@Path(value="long-running")
public class SimpleLongRunningResource
extends java.lang.Object

Example of a simple resource with a long-running operation executed in a custom application thread.

Author:
Marek Potociar (marek.potociar at oracle.com)

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
 

Constructor Detail

SimpleLongRunningResource

public SimpleLongRunningResource()
Method Detail

longGet

public void longGet(@Suspended
                    AsyncResponse ar)


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.