-
- All Implemented Interfaces:
public abstract class HttpReq
-
-
Method Summary
Modifier and Type Method Description final StringgetUTF8()final CharsetgetCharsetUTF8()final HttpHeadersgetHeaders()final FilegetSaveToFile()final UnitsetSaveToFile(File saveToFile)final ProgressgetProgress()final UnitsetProgress(Progress progress)final BooleangetDumpReq()final UnitsetDumpReq(Boolean dumpReq)final BooleangetDumpResp()final UnitsetDumpResp(Boolean dumpResp)final StringgetUrl()final StringgetMethod()final Unitarg(String $self, String v)final Unitarg(String $self, Number v)final Unitarg(String $self, Boolean v)final HttpReqarg(String key, Object value)final HttpReqargs(Pair<String, String> args)final HttpReqargs(Map<String, String> map)final StringbuildGetUrl()UnitdumpReq()final Unitwrite(OutputStream os, String arr)final Unitwriteln(OutputStream os, String arr)final HttpResultrequest()final HttpResultdownload(File saveto, Progress progress)-
-
Method Detail
-
getCharsetUTF8
final Charset getCharsetUTF8()
-
getHeaders
final HttpHeaders getHeaders()
-
getSaveToFile
final File getSaveToFile()
-
setSaveToFile
final Unit setSaveToFile(File saveToFile)
-
getProgress
final Progress getProgress()
-
setProgress
final Unit setProgress(Progress progress)
-
getDumpReq
final Boolean getDumpReq()
-
setDumpReq
final Unit setDumpReq(Boolean dumpReq)
-
getDumpResp
final Boolean getDumpResp()
-
setDumpResp
final Unit setDumpResp(Boolean dumpResp)
-
buildGetUrl
final String buildGetUrl()
-
write
final Unit write(OutputStream os, String arr)
-
writeln
final Unit writeln(OutputStream os, String arr)
-
request
final HttpResult request()
-
download
final HttpResult download(File saveto, Progress progress)
-
-
-
-