You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Ashish <pa...@gmail.com> on 2009/08/10 15:39:23 UTC
[DIRMINA-593] request/response filter
Can someone throw some light on the usage of Request/Response filter?
What it can be used for?
Any real life examples, if available, shall be of help.
--
thanks
ashish
Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal
Re: [DIRMINA-593] request/response filter
Posted by Ashish <pa...@gmail.com>.
>>
>> Traced it back to DIRMINA-92 :-) Finally have some clue of what it is.
>>
>
> Oh, cool. Can you share the clue ?
There are couple of examples attached to the JIRA. The filter is for
protocol that have Request-Response paradigm (infact most does). You
can send multipart responses as well.
I am yet to fully decipher to this part, but should be something like this
Client -> encode -> network -> Server Receive -> Decode ->
Request/Response Filter -> IOHandler
The filter converts to Request and Response Objects and operate upon
them. One can timeout waiting for a response.
This is just first review. Will have to implement some example and see
how it actually works.
--
thanks
ashish
Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal
Re: [DIRMINA-593] request/response filter
Posted by Emmanuel Lecharny <el...@apache.org>.
Ashish wrote:
>>> What it can be used for?
>>>
>>>
>> I think I have created the issue because I had no clue about what is was
>> good for ...
>>
>> Will check further ...
>>
>
> Traced it back to DIRMINA-92 :-) Finally have some clue of what it is.
>
Oh, cool. Can you share the clue ?
> Julien: The issue has one of your examples. Do you think, it will be a
> good idea to put it in examples?
>
Julien is far away from code atm ; he is enjoying some vacations in
China for a few more days. Just fyi.
Thanks Ashish !
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org
Re: [DIRMINA-593] request/response filter
Posted by Ashish <pa...@gmail.com>.
>> What it can be used for?
>>
>
> I think I have created the issue because I had no clue about what is was
> good for ...
>
> Will check further ...
Traced it back to DIRMINA-92 :-) Finally have some clue of what it is.
Julien: The issue has one of your examples. Do you think, it will be a
good idea to put it in examples?
--
thanks
ashish
Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal
Re: [DIRMINA-593] request/response filter
Posted by Emmanuel Lecharny <el...@apache.org>.
Ashish wrote:
> Can someone throw some light on the usage of Request/Response filter?
>
> What it can be used for?
>
I think I have created the issue because I had no clue about what is was
good for ...
Will check further ...
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org