code: public static <T> GenericResponseBuilder<T> created(T entity, URI location) {
      return genericResponseBuilderFactory.create(Response.Status.CREATED.getStatusCode(), entity)
          .location(location);
    }
docs: Create a new {@link GenericResponseBuilder} with a created status and the given entity body and
  location.
  
  @param entity the response entity
  @param location the URI of the newly created resource
  @return a new builder