public class HttpRequestResult extends Object
┌─┐ ┌─┐
┌──┘ ┴───────┘ ┴──┐
│ │
│ ─── │
│ ─┬┘ └┬─ │
│ │
│ ─┴─ │
│ │
└───┐ ┌───┘
│ │
│ │
│ │
│ └──────────────┐
│ │
│ ├─┐
│ author:lelouch ┌─┘
│ │
└─┐ ┐ ┌───────┬──┐ ┌──┘
│ ─┤ ─┤ │ ─┤ ─┤
└──┴──┘ └──┴──┘
神兽保佑
代码无BUG!
| 限定符和类型 | 字段和说明 |
|---|---|
protected HttpConnetcionListenEvent |
httpConnetcionListenEvent |
| 构造器和说明 |
|---|
HttpRequestResult(InputStream inputStream) |
HttpRequestResult(InputStream inputStream,
int contentLength,
File downloadFile,
HttpConnetcionListenEvent httpConnetcionListenEvent,
String UUID,
long limitSpeed) |
HttpRequestResult(InputStream inputStream,
String charset) |
protected HttpConnetcionListenEvent httpConnetcionListenEvent
public HttpRequestResult(InputStream inputStream)
public HttpRequestResult(InputStream inputStream, int contentLength, File downloadFile, HttpConnetcionListenEvent httpConnetcionListenEvent, String UUID, long limitSpeed)
inputStream - contentLength - downloadFile - httpConnetcionListenEvent - public HttpRequestResult(InputStream inputStream, String charset)
public <T> T getResult(ResutlType resutlType)
resutlType - public org.dom4j.Document getXML()
public String getString()
public com.alibaba.fastjson.JSONObject getJSON()
public File getFile()
Copyright © 2020. All rights reserved.