类 WebHelper.HttpHelper
- java.lang.Object
-
- cn.mcres.gyhhy.MXLib.http.WebHelper
-
- cn.mcres.gyhhy.MXLib.http.WebHelper.HttpHelper
-
- 直接已知子类:
WebHelper.PostHelper
- 封闭类:
- WebHelper
public static class WebHelper.HttpHelper extends WebHelper
-
-
嵌套类概要
-
从类继承的嵌套类/接口 cn.mcres.gyhhy.MXLib.http.WebHelper
WebHelper.HttpHelper, WebHelper.PostHelper
-
-
字段概要
-
从类继承的字段 cn.mcres.gyhhy.MXLib.http.WebHelper
catch$func, contentType, header$func, link, proxy, response$func
-
-
构造器概要
构造器 构造器 说明 HttpHelper(String link)
HttpHelper(URL link)
-
方法概要
修饰符和类型 方法 说明 void
connect()
protected void
connect0()
WebHelper.HttpHelper
contentType(String type)
WebHelper.HttpHelper
header(Consumer<URLConnection> func)
WebHelper.HttpHelper
onCatch(Consumer<Throwable> func)
WebHelper.HttpHelper
response(F3c<HttpURLConnection,InputStream> func)
-
-
-
方法详细资料
-
onCatch
public WebHelper.HttpHelper onCatch(Consumer<Throwable> func)
-
contentType
public WebHelper.HttpHelper contentType(String type)
- 覆盖:
contentType
在类中WebHelper
-
connect0
protected void connect0() throws IOException
- 覆盖:
connect0
在类中WebHelper
- 抛出:
IOException
-
response
public WebHelper.HttpHelper response(F3c<HttpURLConnection,InputStream> func)
-
header
public WebHelper.HttpHelper header(Consumer<URLConnection> func)
-
-