MCPcopy Create free account
hub / github.com/Tencent/TSeer / upload

Method upload

web/src/main/java/com/qq/seer/common/http/HttpUtils.java:70–151  ·  view source on GitHub ↗

上传文件 @param url 请求的地址 @param file 需要发送的文件 @param queryStringMap 查询字符串,key为参数名称,value为参数值 @param headers 请求头,可以覆盖默认请求头 @param receiveCharset 接收使用的字符集 @param connectTimeOut 连接超时,单位:毫秒 @param dataTimeOut 读取超时,单位:毫秒 @return 返回的内容,状态码&内容

(String url, File file, Map<String, String> queryStringMap,
                                               Map<String, String> headers, String receiveCharset,
                                               int connectTimeOut, int dataTimeOut)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

ofMethod · 0.95
infoMethod · 0.80
executeMethod · 0.80
getThrowableStrMethod · 0.80
toStringMethod · 0.45
getMethod · 0.45
debugMethod · 0.45

Tested by

no test coverage detected