code: public static String getPath(Controller controller) {
          Path path = controller.getClass().getAnnotation(Path.class);
          if (path == null) {
              return EMPTY_PREFIX;
          } else {
              return path.value();
          }
      }
docs: Gets the 'path' value of the given controller. If the controller does not use the {@link org.wisdom.api
  .annotations.Path} annotation, and empty prefix is returned.
  
  @param controller the controller
  @return the prefix coming either empty or the value of the Path annotation