Object entity; if (path.contains("/notifyContext")) { entity = new NotifyContextResponse(statusCode); } else if (path.contains("/updateContextSubscription")) { UpdateContextSubscriptionResponse response = new UpdateContextSubscriptionResponse(); } else { entity = new NotifyContextResponse(statusCode);
Object entity; if (path.contains("/notifyContext")) { entity = new NotifyContextResponse(statusCode); } else if (path.contains("/updateContextSubscription")) { UpdateContextSubscriptionResponse response = new UpdateContextSubscriptionResponse(); } else { entity = new NotifyContextResponse(statusCode);