List<String> segments = request.getBaseRef().getSegments(); String message = "Orders of user named: " + segments.get(segments.size() - 2);
String message = "Orders of user \"" + request.getAttributes().get("user") + "\"";
					public void handleGet(Request request, Response response)					{						// Print the user name of the requested orders						List<String> segments = request.getBaseRef().getSegments();						String message = "Orders of user named: "								+ segments.get(segments.size() - 2);						response.setEntity(message, MediaType.TEXT_PLAIN);					}