catch (NumberFormatException e) {
throw new IOException("invalid heartbeat parameter");
}
}
ClientOracle clientOracle = getClientOracle(request);
SerializationPolicy serializationPolicy = clientOracle == null ? createSerializationPolicy() : null;
CometServletResponseImpl cometServletResponse = createCometServletResponse(request, response, serializationPolicy, clientOracle, requestHeartbeat);
doCometImpl(cometServletResponse);
}
catch (IOException e) {