Is there a mechanism in Objective-C similar to Netty in Java for diverting TCP to UDT protocols in Transport Layer.
Now I want to implement HTTP request and response (runs over TCP by default) to run over UDT from my application.
Is this possible?
Is there any in-built mechanism in iOS for this?
There isn't anything quite as convenient as Netty. However you might want to take a look at the CFNetwork programming guide, specifically the sections on Communicating with HTTP Servers. This describes the CFHTTPMessage methods which can be used to create, and serialise, HTTP requests, and decode responses. As they serialise to, and decode from, buffers, you are free to transmit the messages however you like. If you already have a UDT implementation then it should be reasonably straightforward.
Note you are responsible for encoding / decoding the HTTP body appropriately but if your web service protocol is fairly simple that might only be a case of serialising / deserialising strings.