code: public Controller getController(JsonPath jsonPath, String method) {
  		for (Controller controller : controllers) {
  			if (controller.isAcceptable(jsonPath, method)) {
  				LOGGER.debug("using controller {}", controller);
  				return controller;
  			}
  		}
  		throw new BadRequestException(jsonPath + " with method " + method);
  	}
docs: Iterate over all registered controllers to get the first suitable one.
  
  @param jsonPath built JsonPath object mad from request path
  @param method   type of a HTTP request
  @return suitable controller