users@grizzly.java.net

Re: ByteBufferInputStream alternative ...

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Thu, 12 Jun 2008 13:50:36 +0200

ByteBufferInputStream class is deprecated, please use
com.sun.grizzly.util.InputReader.

Thanks.

WBR,
Alexey.

On Jun 12, 2008, at 12:27 , Alan Williamson wrote:

> Now that i am officially onto 1.8 i am going over some of the
> compiler warnings, namely this one detailing its deprecated.
>
> ByteBufferInputStream.setDefaultReadTimeout( 30000 );
>
> I do this to ensure someone doesn't sit and opens up a socket and
> does nothing. A real subtle DoS attack.
>
> What's the new 1.8 way of achieving this?
>
> --
> Alan Williamson
>
> Try our free registrationless email/sms reminder
> http://yourli.st/
>
> b: http://alan.blog-city.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>