Checking if a connection is closed

  • From: Luis Antunes <lantunes@...>
  • To: users@...
  • Subject: Checking if a connection is closed
  • Date: Fri, 13 Jun 2014 17:37:04 -0400

Hi,

I'm implementing a Grizzly HttpHandler, and am wondering if there is any
way to check if the client connection that originated the Request is still
open, or if it has closed? I've tried obtaining the HttpRequestPacket from
the Request, and checking if the Connection is open, but that seems to
always return true, even if the client has disconnected.

Any help would be much appreciated.

Thanks!
Luis


Checking if a connection is closed

Luis Antunes 06/13/2014

Re: Checking if a connection is closed

Oleksiy Stashok 06/13/2014

Re: Checking if a connection is closed

Luis Antunes 06/14/2014

Re: Checking if a connection is closed

Oleksiy Stashok 06/16/2014
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150226.965aeb8)
 
 
Close
loading
Please Confirm
Close