private Handler getHandler(HttpServletRequest request) {
		String paramId = request.getParameter("id");
		if (paramId != null && !paramId.isEmpty()) {
			int id = Integer.parseInt(paramId.trim());
			if (!game.hasActivePlayer(id)) {
				return null;
			}
		}
		String type = request.getParameter("request");
		if (type == null)
			return null;
		switch (type) {
			case "authenticate":	return new AuthenticationHandler(request, game);
			case "angle":			return new AngleHandler(request, game);
			case "mean":			return new MeanHandler(request, game);
			case "next":			return new NextHandler(request, game);
			default:				return null;
		}
	}