public class JsonpPollingTransport
extends io.netty.channel.ChannelHandlerAdapter
JSON Padding (JSONP) Polling is a transport where there is no open connection between
the client and the server. Instead the client will issue a new request for polling from
and sending data to the SockJS service.
This handler is responsible for sending data back to the client. Since JSONP is in use
it need to inspect the HTTP request to find the callback method which is identified as
a query parameter 'c'. The name of the callback method will be used to wrap the data
into a javascript function call which is what will returned to the client.