users@grizzly.java.net

Re: Closing connections

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Fri, 20 Jun 2008 16:14:43 +0200

Ok.
Grizzly, by default, doesn't have any resource associated with the
connection - so it should be safe enough to close connection using
method:
SelectionKeyHandler.cancel(SelectionKey)

For sure if you're inside some HTTP processor, there could be some
HTTP specific way of closing the connection. Jean-Francois can advice
better here.

Thanks.

WBR,
Alexey.

On Jun 20, 2008, at 15:54 , Mark Hig wrote:

>
> Yes we are. We are using Grizzly 1.8 http and framework.
> --
> View this message in context: http://www.nabble.com/Closing-connections-tp18026485p18030095.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>