并不是很实用的设计，我倾向于是这样：

class ImageInfo {
    private String url;
    public String makeURL() {
         return this.url + "?imageInfo"
    }
    public ImageInfoRet call() {
          url = this.makeURL()
          ret = http_call(url)
          return new ImageInfoRet(ret)
    }
}