public interface HttpResponseProxy
http 框架的 response 代理类,方便提取公共方法 Created by Binary Wang on 2017-8-3.
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
extractFileNameFromContentString(String content) |
static ApacheHttpResponseProxy |
from(org.apache.http.client.methods.CloseableHttpResponse response) |
static HttpComponentsResponseProxy |
from(org.apache.hc.client5.http.impl.classic.CloseableHttpResponse response) |
static JoddHttpResponseProxy |
from(jodd.http.HttpResponse response) |
static OkHttpResponseProxy |
from(okhttp3.Response response) |
String |
getFileName() |
static ApacheHttpResponseProxy from(org.apache.http.client.methods.CloseableHttpResponse response)
static HttpComponentsResponseProxy from(org.apache.hc.client5.http.impl.classic.CloseableHttpResponse response)
static JoddHttpResponseProxy from(jodd.http.HttpResponse response)
static OkHttpResponseProxy from(okhttp3.Response response)
String getFileName() throws WxErrorException
WxErrorExceptionstatic String extractFileNameFromContentString(String content) throws WxErrorException
WxErrorExceptionCopyright © 2026. All rights reserved.