You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "dhruv chopra (JIRA)" <ji...@apache.org> on 2012/09/25 07:23:07 UTC

[jira] [Created] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

dhruv chopra created DIRMINA-907:
------------------------------------

             Summary: Create a WebSocket iofilter for use in Apache Mina TCP servers
                 Key: DIRMINA-907
                 URL: https://issues.apache.org/jira/browse/DIRMINA-907
             Project: MINA
          Issue Type: New Feature
          Components: Filter, Protocol - HTTP, Transport
            Reporter: dhruv chopra


Shephertz has created a websocket iofilter that can be added in Apache mina tcp server chain. The features of this codec are
1) Works with binary data sent/received over websocket
2) Abstracts the client details from the Handler code i.e. the handler need not be aware that the remote endpoint is a browser or native client.
3) Tested with binary data sent/received on latest chrome and firefox browsers. IE 9 doesn't support websockets and we will make changes if required for IE 10 when its released and if it supports websockets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by Dhruv Chopra <dh...@shephertz.co.in>.
We don't have standalone test for this.. But I just put together a simple
connect/send/receive one - I'm attaching the client html file to use for a
simple test (open in ff or chrome).

You can use the Mina
TimeServer<http://mina.apache.org/quick-start-guide.html>example to
see the filter code in action (with some minor modifications).
After you've added the websocket codec code to your project. Just replace
'main' function and messageReceived with the following...

*public static void main(String[] args) throws IOException {*
*        IoAcceptor acceptor = new SocketAcceptor();*
*        SocketAcceptorConfig cfg = new SocketAcceptorConfig();*
* cfg.getFilterChain().addLast("wscodec", new ProtocolCodecFilter(new
WebSocketCodecFactory()));*
*        acceptor.bind( new InetSocketAddress(12346), new
TimeServerHandler(), cfg);*
*        System.out.println("MINA Time server started.");*
*}*
*
*
*    @Override*
*    public void messageReceived(IoSession session, Object message) throws
Exception {*
*        IoBuffer buf = (IoBuffer)message;*
*        System.out.println("received "+buf.array().length+" bytes");*
*        // send [0 0 0 1] to the client.*
*        byte[] resp = new byte[4];*
*        resp[3] = 1;*
*        *
*        session.write(WebSocketCodecPacket
.buildPacket(IoBuffer.wrap(resp)));*
*    }*

-Dhruv

On Tue, Oct 23, 2012 at 6:36 PM, Julien Vermillard <jv...@gmail.com>wrote:

> Hi,
> I took a look at it but it miss tests.
> do you have some tests to provide ?
> Julien
>
> On Tue, Oct 23, 2012 at 12:15 PM, Emmanuel Lécharny <elecharny@gmail.com
> >wrote:
>
> > Le 10/23/12 11:53 AM, Dhruv Chopra a écrit :
> >
> >  Hi Folks,
> >>
> >> Wanted to check if anyone has had a chance to play with the code we
> >> submitted for this filter.
> >> In case some information is incomplete, please let me know.
> >>
> >> Looking forward to your feedback.
> >>
> >
> > Sorry, I was stuck in MINA release (2.0.7) and two other Apache
> releases...
> >
> > Now that 2.0.7 is out, I'm focusing on the site and documentation, but I
> > will definitively look at your code !
> >
> > Thanks for the polling and sorry for the delay !
> >
> >
> > --
> > Regards,
> > Cordialement,
> > Emmanuel Lécharny
> > www.iktek.com
> >
> >
>

Re: [jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by Julien Vermillard <jv...@gmail.com>.
Hi,
I took a look at it but it miss tests.
do you have some tests to provide ?
Julien

On Tue, Oct 23, 2012 at 12:15 PM, Emmanuel Lécharny <el...@gmail.com>wrote:

> Le 10/23/12 11:53 AM, Dhruv Chopra a écrit :
>
>  Hi Folks,
>>
>> Wanted to check if anyone has had a chance to play with the code we
>> submitted for this filter.
>> In case some information is incomplete, please let me know.
>>
>> Looking forward to your feedback.
>>
>
> Sorry, I was stuck in MINA release (2.0.7) and two other Apache releases...
>
> Now that 2.0.7 is out, I'm focusing on the site and documentation, but I
> will definitively look at your code !
>
> Thanks for the polling and sorry for the delay !
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>

Re: [jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 10/23/12 11:53 AM, Dhruv Chopra a écrit :
> Hi Folks,
>
> Wanted to check if anyone has had a chance to play with the code we
> submitted for this filter.
> In case some information is incomplete, please let me know.
>
> Looking forward to your feedback.

Sorry, I was stuck in MINA release (2.0.7) and two other Apache releases...

Now that 2.0.7 is out, I'm focusing on the site and documentation, but I 
will definitively look at your code !

Thanks for the polling and sorry for the delay !


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: [jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by Ashish <pa...@gmail.com>.
Sure Dhruv!

Haven't had a chance to look at it. We shall look at it, at the
earliest possible and let you know :)

Thanks Again !
ashish

On Tue, Oct 23, 2012 at 3:23 PM, Dhruv Chopra
<dh...@shephertz.co.in> wrote:
> Hi Folks,
>
> Wanted to check if anyone has had a chance to play with the code we
> submitted for this filter.
> In case some information is incomplete, please let me know.
>
> Looking forward to your feedback.
> -Dhruv Chopra
>
>
> On Wed, Oct 17, 2012 at 12:45 AM, dhruv chopra (JIRA) <ji...@apache.org>wrote:
>
>>
>>     [
>> https://issues.apache.org/jira/browse/DIRMINA-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477267#comment-13477267]
>>
>> dhruv chopra commented on DIRMINA-907:
>> --------------------------------------
>>
>> The attached filter will abstract the client connection from the handler.
>> ie the handler will only decode/encode if the remote client is a websocket
>> (which it knows depending on if a websocket handshake has been performed or
>> not).
>>
>> > Create a WebSocket iofilter for use in Apache Mina TCP servers
>> > --------------------------------------------------------------
>> >
>> >                 Key: DIRMINA-907
>> >                 URL: https://issues.apache.org/jira/browse/DIRMINA-907
>> >             Project: MINA
>> >          Issue Type: New Feature
>> >          Components: Filter, Protocol - HTTP, Transport
>> >            Reporter: dhruv chopra
>> >         Attachments: WebSocketFilter.zip
>> >
>> >
>> > Shephertz has created a websocket iofilter that can be added in Apache
>> mina tcp server chain. The features of this codec are
>> > 1) Works with binary data sent/received over websocket
>> > 2) Abstracts the client details from the Handler code i.e. the handler
>> need not be aware that the remote endpoint is a browser or native client.
>> > 3) Tested with binary data sent/received on latest chrome and firefox
>> browsers. IE 9 doesn't support websockets and we will make changes if
>> required for IE 10 when its released and if it supports websockets.
>>
>> --
>> This message is automatically generated by JIRA.
>> If you think it was sent incorrectly, please contact your JIRA
>> administrators
>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: [jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by Dhruv Chopra <dh...@shephertz.co.in>.
Hi Folks,

Wanted to check if anyone has had a chance to play with the code we
submitted for this filter.
In case some information is incomplete, please let me know.

Looking forward to your feedback.
-Dhruv Chopra


On Wed, Oct 17, 2012 at 12:45 AM, dhruv chopra (JIRA) <ji...@apache.org>wrote:

>
>     [
> https://issues.apache.org/jira/browse/DIRMINA-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477267#comment-13477267]
>
> dhruv chopra commented on DIRMINA-907:
> --------------------------------------
>
> The attached filter will abstract the client connection from the handler.
> ie the handler will only decode/encode if the remote client is a websocket
> (which it knows depending on if a websocket handshake has been performed or
> not).
>
> > Create a WebSocket iofilter for use in Apache Mina TCP servers
> > --------------------------------------------------------------
> >
> >                 Key: DIRMINA-907
> >                 URL: https://issues.apache.org/jira/browse/DIRMINA-907
> >             Project: MINA
> >          Issue Type: New Feature
> >          Components: Filter, Protocol - HTTP, Transport
> >            Reporter: dhruv chopra
> >         Attachments: WebSocketFilter.zip
> >
> >
> > Shephertz has created a websocket iofilter that can be added in Apache
> mina tcp server chain. The features of this codec are
> > 1) Works with binary data sent/received over websocket
> > 2) Abstracts the client details from the Handler code i.e. the handler
> need not be aware that the remote endpoint is a browser or native client.
> > 3) Tested with binary data sent/received on latest chrome and firefox
> browsers. IE 9 doesn't support websockets and we will make changes if
> required for IE 10 when its released and if it supports websockets.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>

[jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by "dhruv chopra (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477267#comment-13477267 ] 

dhruv chopra commented on DIRMINA-907:
--------------------------------------

The attached filter will abstract the client connection from the handler. ie the handler will only decode/encode if the remote client is a websocket (which it knows depending on if a websocket handshake has been performed or not).
                
> Create a WebSocket iofilter for use in Apache Mina TCP servers
> --------------------------------------------------------------
>
>                 Key: DIRMINA-907
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-907
>             Project: MINA
>          Issue Type: New Feature
>          Components: Filter, Protocol - HTTP, Transport
>            Reporter: dhruv chopra
>         Attachments: WebSocketFilter.zip
>
>
> Shephertz has created a websocket iofilter that can be added in Apache mina tcp server chain. The features of this codec are
> 1) Works with binary data sent/received over websocket
> 2) Abstracts the client details from the Handler code i.e. the handler need not be aware that the remote endpoint is a browser or native client.
> 3) Tested with binary data sent/received on latest chrome and firefox browsers. IE 9 doesn't support websockets and we will make changes if required for IE 10 when its released and if it supports websockets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by "dhruv chopra (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493765#comment-13493765 ] 

dhruv chopra commented on DIRMINA-907:
--------------------------------------

Sorry - I'm still a bit new to MINA but I did a few searches and don't know what exactly you are referring to by mina-http! :)
Is there already a http codec that you are suggesting we insert this in to? 

I have currently implemented this in a way that it is stand-alone. Since websocket only do an initial handshake over http and every thing onwards is non-http, wouldn't it be overkill to have to include an entire http module?
                
> Create a WebSocket iofilter for use in Apache Mina TCP servers
> --------------------------------------------------------------
>
>                 Key: DIRMINA-907
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-907
>             Project: MINA
>          Issue Type: New Feature
>          Components: Filter, Protocol - HTTP, Transport
>            Reporter: dhruv chopra
>         Attachments: WebSocketFilter.zip
>
>
> Shephertz has created a websocket iofilter that can be added in Apache mina tcp server chain. The features of this codec are
> 1) Works with binary data sent/received over websocket
> 2) Abstracts the client details from the Handler code i.e. the handler need not be aware that the remote endpoint is a browser or native client.
> 3) Tested with binary data sent/received on latest chrome and firefox browsers. IE 9 doesn't support websockets and we will make changes if required for IE 10 when its released and if it supports websockets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by "dhruv chopra (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruv chopra updated DIRMINA-907:
---------------------------------

    Attachment: MinaCodecUsage.png
    
> Create a WebSocket iofilter for use in Apache Mina TCP servers
> --------------------------------------------------------------
>
>                 Key: DIRMINA-907
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-907
>             Project: MINA
>          Issue Type: New Feature
>          Components: Filter, Protocol - HTTP, Transport
>            Reporter: dhruv chopra
>         Attachments: MinaCodecUsage.png, WebSocketFilter.zip
>
>
> Shephertz has created a websocket iofilter that can be added in Apache mina tcp server chain. The features of this codec are
> 1) Works with binary data sent/received over websocket
> 2) Abstracts the client details from the Handler code i.e. the handler need not be aware that the remote endpoint is a browser or native client.
> 3) Tested with binary data sent/received on latest chrome and firefox browsers. IE 9 doesn't support websockets and we will make changes if required for IE 10 when its released and if it supports websockets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by "dhruv chopra (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494604#comment-13494604 ] 

dhruv chopra commented on DIRMINA-907:
--------------------------------------

I looked at the http codec. From what I understand it is useful where the client and server are speaking in HTTP and the business logic is built on top of HTTP requests/responses (REST for example).

In the case of websockets, the client (browser) and the server don't speak HTTP when sending/receiving data. Only the connection establishment handshake is done using HTTP. Once the handshake is done, the actual data exchanged on that very IoSession has its own encoding/decoding protocol which has nothing to do with HTTP - in fact it is a binary protocol. I have attached an image in which I've tried to illustrate the two different scenarios - please excuse my poor paintbrush skills :-)

IMHO, there is no real need to make the two codecs work together as they are for two different application scenarios. Mixing them will give us a codec with lots of if/else blocks. e.g.: if(msg is WebSocket HANDSHAKE) if(plain HTTP request) if (Websocket binary data)
                
> Create a WebSocket iofilter for use in Apache Mina TCP servers
> --------------------------------------------------------------
>
>                 Key: DIRMINA-907
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-907
>             Project: MINA
>          Issue Type: New Feature
>          Components: Filter, Protocol - HTTP, Transport
>            Reporter: dhruv chopra
>         Attachments: MinaCodecUsage.png, WebSocketFilter.zip
>
>
> Shephertz has created a websocket iofilter that can be added in Apache mina tcp server chain. The features of this codec are
> 1) Works with binary data sent/received over websocket
> 2) Abstracts the client details from the Handler code i.e. the handler need not be aware that the remote endpoint is a browser or native client.
> 3) Tested with binary data sent/received on latest chrome and firefox browsers. IE 9 doesn't support websockets and we will make changes if required for IE 10 when its released and if it supports websockets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by Dhruv Chopra <dh...@shephertz.co.in>.
We do the handshake ourselves in the decoder. This also hides the handshake from the Handler.

Sent from my iPhone

On 23-Oct-2012, at 20:49, Arnaud Bourrée (JIRA) <ji...@apache.org> wrote:

> 
>    [ https://issues.apache.org/jira/browse/DIRMINA-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482396#comment-13482396 ] 
> 
> Arnaud Bourrée commented on DIRMINA-907:
> ----------------------------------------
> 
> From RFC 6455, I understand that Websocket start with HTTP hand-check.
> IMO, your iofilter should have dependency on mina-http, shouldn't it?
> 
>> Create a WebSocket iofilter for use in Apache Mina TCP servers
>> --------------------------------------------------------------
>> 
>>                Key: DIRMINA-907
>>                URL: https://issues.apache.org/jira/browse/DIRMINA-907
>>            Project: MINA
>>         Issue Type: New Feature
>>         Components: Filter, Protocol - HTTP, Transport
>>           Reporter: dhruv chopra
>>        Attachments: WebSocketFilter.zip
>> 
>> 
>> Shephertz has created a websocket iofilter that can be added in Apache mina tcp server chain. The features of this codec are
>> 1) Works with binary data sent/received over websocket
>> 2) Abstracts the client details from the Handler code i.e. the handler need not be aware that the remote endpoint is a browser or native client.
>> 3) Tested with binary data sent/received on latest chrome and firefox browsers. IE 9 doesn't support websockets and we will make changes if required for IE 10 when its released and if it supports websockets.
> 
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by "Arnaud Bourrée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482396#comment-13482396 ] 

Arnaud Bourrée commented on DIRMINA-907:
----------------------------------------

>From RFC 6455, I understand that Websocket start with HTTP hand-check.
IMO, your iofilter should have dependency on mina-http, shouldn't it?
                
> Create a WebSocket iofilter for use in Apache Mina TCP servers
> --------------------------------------------------------------
>
>                 Key: DIRMINA-907
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-907
>             Project: MINA
>          Issue Type: New Feature
>          Components: Filter, Protocol - HTTP, Transport
>            Reporter: dhruv chopra
>         Attachments: WebSocketFilter.zip
>
>
> Shephertz has created a websocket iofilter that can be added in Apache mina tcp server chain. The features of this codec are
> 1) Works with binary data sent/received over websocket
> 2) Abstracts the client details from the Handler code i.e. the handler need not be aware that the remote endpoint is a browser or native client.
> 3) Tested with binary data sent/received on latest chrome and firefox browsers. IE 9 doesn't support websockets and we will make changes if required for IE 10 when its released and if it supports websockets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by "Julien Vermillard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483064#comment-13483064 ] 

Julien Vermillard commented on DIRMINA-907:
-------------------------------------------

I agree with Arnaud, we should try to make those two code work togethers
                
> Create a WebSocket iofilter for use in Apache Mina TCP servers
> --------------------------------------------------------------
>
>                 Key: DIRMINA-907
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-907
>             Project: MINA
>          Issue Type: New Feature
>          Components: Filter, Protocol - HTTP, Transport
>            Reporter: dhruv chopra
>         Attachments: WebSocketFilter.zip
>
>
> Shephertz has created a websocket iofilter that can be added in Apache mina tcp server chain. The features of this codec are
> 1) Works with binary data sent/received over websocket
> 2) Abstracts the client details from the Handler code i.e. the handler need not be aware that the remote endpoint is a browser or native client.
> 3) Tested with binary data sent/received on latest chrome and firefox browsers. IE 9 doesn't support websockets and we will make changes if required for IE 10 when its released and if it supports websockets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493792#comment-13493792 ] 

Emmanuel Lecharny commented on DIRMINA-907:
-------------------------------------------

http://svn.apache.org/viewvc/mina/mina/branches/2.0/mina-http/
and more specifically :
http://svn.apache.org/viewvc/mina/mina/branches/2.0/mina-http/src/main/java/org/apache/mina/http/HttpClientCodec.java?view=log
                
> Create a WebSocket iofilter for use in Apache Mina TCP servers
> --------------------------------------------------------------
>
>                 Key: DIRMINA-907
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-907
>             Project: MINA
>          Issue Type: New Feature
>          Components: Filter, Protocol - HTTP, Transport
>            Reporter: dhruv chopra
>         Attachments: WebSocketFilter.zip
>
>
> Shephertz has created a websocket iofilter that can be added in Apache mina tcp server chain. The features of this codec are
> 1) Works with binary data sent/received over websocket
> 2) Abstracts the client details from the Handler code i.e. the handler need not be aware that the remote endpoint is a browser or native client.
> 3) Tested with binary data sent/received on latest chrome and firefox browsers. IE 9 doesn't support websockets and we will make changes if required for IE 10 when its released and if it supports websockets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DIRMINA-907) Create a WebSocket iofilter for use in Apache Mina TCP servers

Posted by "dhruv chopra (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruv chopra updated DIRMINA-907:
---------------------------------

    Attachment: WebSocketFilter.zip

Attached is the code for the binary websocket filter.
                
> Create a WebSocket iofilter for use in Apache Mina TCP servers
> --------------------------------------------------------------
>
>                 Key: DIRMINA-907
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-907
>             Project: MINA
>          Issue Type: New Feature
>          Components: Filter, Protocol - HTTP, Transport
>            Reporter: dhruv chopra
>         Attachments: WebSocketFilter.zip
>
>
> Shephertz has created a websocket iofilter that can be added in Apache mina tcp server chain. The features of this codec are
> 1) Works with binary data sent/received over websocket
> 2) Abstracts the client details from the Handler code i.e. the handler need not be aware that the remote endpoint is a browser or native client.
> 3) Tested with binary data sent/received on latest chrome and firefox browsers. IE 9 doesn't support websockets and we will make changes if required for IE 10 when its released and if it supports websockets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira