/** * This is used to accept a new TCP connections. When the socket * is ready to accept a connection this method is invoked. It will * then create a HTTP pipeline object using the accepted socket * and if provided with an <code>SSLContext</code> it will also * provide an <code>SSLEngine</code> which is handed to the * processor to handle the HTTP requests. */ public void run() { try { accept(); } catch(Exception cause) { pause(); } }
/** * This is used to accept a new TCP connections. When the socket * is ready to accept a connection this method is invoked. It will * then create a HTTP pipeline object using the accepted socket * and if provided with an <code>SSLContext</code> it will also * provide an <code>SSLEngine</code> which is handed to the * processor to handle the HTTP requests. */ public void run() { try { accept(); } catch(Exception e) { pause(); } }
/** * This is used to accept a new TCP connections. When the socket * is ready to accept a connection this method is invoked. It will * then create a HTTP pipeline object using the accepted socket * and if provided with an <code>SSLContext</code> it will also * provide an <code>SSLEngine</code> which is handed to the * processor to handle the HTTP requests. */ public void run() { try { accept(); } catch(Exception cause) { pause(); } }