code: private Method getMethod(Object controller, String methodName) throws RoutesException {
  		try {
  			// try to retrieve the method and check if an exception is thrown
  			return controller.getClass().getMethod(methodName, Request.class, Response.class);
  		} catch (Exception e) {
  			throw new RoutesException(e);
  		}
  	}
docs: Helper method. Retrieves the method with the specified <code>methodName</code> and from the specified object.
  Notice that the method must received two parameters of types {@link Request} and {@link Response} respectively.
  
  @param controller the object from which we will retrieve the method.
  @param methodName the name of the method to be retrieved.
  
  @return a <code>java.lang.reflect.Method</code> object.
  @throws RoutesException if the method doesn't exists or there is a problem accessing the method.