ソースを参照

add alias for get, easier for static imports

tags/2.0.1
Jonathan Cobb 4年前
コミット
cd654568ba
1個のファイルの変更2行の追加0行の削除
  1. +2
    -0
      src/main/java/org/cobbzilla/util/http/HttpUtil.java

+ 2
- 0
src/main/java/org/cobbzilla/util/http/HttpUtil.java ファイルの表示

@@ -64,6 +64,8 @@ public class HttpUtil {
return query_pairs;
}

public static InputStream getUrlInputStream(String url) throws IOException { return get(url); }

public static InputStream get (String urlString) throws IOException { return get(urlString, null); }

public static InputStream get (String urlString, Map<String, String> headers) throws IOException {


読み込み中…
キャンセル
保存