void function ( @ PathParam ( "srini_string" ) final String arg0 , @ Suspended final AsyncResponse arg1 ) { TASK_EXECUTOR . submit ( new Runnable ( ) { @ Override public void run ( ) { try { Thread . sleep ( SLEEP_TIME_IN_MILLIS ) ; } catch ( final InterruptedException loc0 ) { arg1 . cancel ( ) ; } arg1 . resume ( arg0 ) ; } } ) ; }
asynchronously echo the last path segment after sleeping for a long time . concode_field_sep ExecutorService TASK_EXECUTOR concode_elem_sep int SLEEP_TIME_IN_MILLIS concode_field_sep String syncEcho