}
}
ClientOracle clientOracle = getClientOracle(request);
SerializationPolicy serializationPolicy = clientOracle == null ? createSerializationPolicy() : null;
CometServletResponseImpl cometServletResponse = createCometServletResponse(request, response, serializationPolicy, clientOracle, requestHeartbeat);
doCometImpl(cometServletResponse);
}
catch (IOException e) {
CometServletResponseImpl cometServletResponse = createCometServletResponse(request, response, null, null, 0);
cometServletResponse.sendError(HttpServletResponse.SC_BAD_REQUEST, e.getMessage());
}
}