jsr356-experts@websocket-spec.java.net

[jsr356-experts] Re: [jsr356-users] Re: TCK 2013-03-20 More feedback

From: Mark Thomas <mark_at_homeinbox.net>
Date: Mon, 25 Mar 2013 22:49:22 +0000

On 25/03/2013 22:46, Danny Coward wrote:
> Hi Mark,
>
> I'll pass this one alone too.

Thanks.

> On 3/25/13 6:26 AM, Mark Thomas wrote:

>> 6)
>> What are the allowed values of T for implementations of
>> MessageHandler.Whole<T> and MessageHandler.Partial<T>. My assumption
>> (based on OnMessage) is:
>> Whole:
>> String, Java primitive or class equivalent, Reader, any class with a
>> decoder, byte[], ByteBuffer, InputStream
>> Partial:
>> String, byte[], ByteBuffer
>
> Yes. Is there a test that does not follow the rules here ?

No, but the spec isn't particularly clear about what is and what is not
allowed. Could some clarification be added?

(and I missed PongMessage)

Cheers,

Mark