code: @Override
      public <T> T newInstance(Context context, Class<T> type) throws IllegalArgumentException {
          // Retrieve the factory
          for (ParameterFactory factory : factories) {
              if (factory.getType().equals(type)) {
                  // Factory found - instantiate
                  //noinspection unchecked
                  return (T) factory.newInstance(context);
              }
          }
          throw new IllegalArgumentException("Unable to find a ParameterFactory able to create instance of "
                  + type.getName());
      }
docs: Creates an instance of T from the given HTTP content. Unlike converters, it does not handler generics or
  collections.
  
  @param context the HTTP content
  @param type    the class to instantiate
  @return the created object
  @throws IllegalArgumentException if there are no {@link org.wisdom.api.content.ParameterFactory} available for
  the type T, or if the instantiation failed.