code: public static <T> T readEntity(Class<T> rawType, Type type) {
          return getRequest().readEntity(rawType, type);
      }
docs: <p>readEntity.</p>
  
  @param rawType a {@link java.lang.Class} object.
  @param type    a {@link java.lang.reflect.Type} object.
  @param <T>     a T object.
  @return a T object.