We have Apache MINA used in current project for TCP/IP protocol where server and client communicates over TCP/IP. So we have some code for MINA already in place.
Now we want to support http protocol as well, and re-use whatever possible.
I need some example of client/server code for connecting using URL (/servlet) for MINA-HTTP.
I found links like below- http://mina.apache.org/report/trunk/xref/org/apache/mina/example/httpserver/codec/package-frame.html
But looking for sample code for server and client side. It would be great if someone can help me on this
Thanks,