java - Servlet 3.0 async Timeouts -


is possible extend timeout of servlet 3.0 async servlet. tried in timeout method still completed async request.

what best way of extending timeout such async servlet never completes

tx

its time haven't got reply. here breaking silence :p

asynccontext cntx = request.startasync(request, response);  long timeout = default_time_out;   if( req.getparametermap().containskey( time_out ) ){     try {         timeout = long.parselong( req.getparameter( time_out ) );     } catch (numberformatexception e) {         e.printstacktrace();     } }  cntx.settimeout( timeout ); 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -