* the Bayuex specification.
*/
public int process(int prevops) throws BayeuxException {
prevops = super.process(prevops);
response = (HashMap<String, Object>)responseTemplate.clone();
ClientImpl client = null;
HttpError error = validate();
if (error == null) {
client = (ClientImpl) getTomcatBayeux().newClient("http-", null, false,getEvent());
clientId = client.getId();
client.setSupportedConnTypes(suppConnTypesFlag);
client.setUseJsonFiltered(getExt().get(Bayeux.JSON_COMMENT_FILTERED_FIELD) != null);
response.put(Bayeux.CLIENT_FIELD, client.getId());
((HashMap) response.get(Bayeux.ADVICE_FIELD)).put(Bayeux.RECONNECT_FIELD, Bayeux.RETRY_RESPONSE);
((HashMap) response.get(Bayeux.ADVICE_FIELD)).put(Bayeux.INTERVAL_FIELD, getReconnectInterval());
}else {
response.put(Bayeux.SUCCESSFUL_FIELD,Boolean.FALSE);
response.put(Bayeux.ERROR_FIELD, error.toString());