jooby/src/main/java/org/jooby/Results.java
@Nonnull
  public static Result with(final Object entity, final Status status) {
    return new Result().status(status).set(entity);
  }
@Nonnull
  public static Result with(final Object entity, final Status status) {
    return new Result().status(status).set(entity);
  }
Set the result

@param entity A result value.
@param status A HTTP status.
@return A new result.