private static FullHttpResponse jsonpSend(final String url, final String content,
final SockJsServiceFactory service) {
final FullHttpRequest request = httpRequest(url, POST);
request.headers().set(CONTENT_TYPE, Transports.CONTENT_TYPE_FORM);
final ByteBuf buf = Unpooled.copiedBuffer(content, UTF_8);
request.content().writeBytes(buf);
buf.release();
return jsonpSend(request, service);
}
private static FullHttpResponse xhrSendRequest(final String path, final String content,