public class RequestEventListener
extends okhttp3.EventListener
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RequestEventListener.RequestEventListenerFactory |
| 构造器和说明 |
|---|
RequestEventListener(org.slf4j.Logger log) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
callEnd(okhttp3.Call call) |
void |
callFailed(okhttp3.Call call,
IOException ioe) |
void |
callStart(okhttp3.Call call) |
void |
connectEnd(okhttp3.Call call,
InetSocketAddress inetSocketAddress,
Proxy proxy,
okhttp3.Protocol protocol) |
void |
connectFailed(okhttp3.Call call,
InetSocketAddress inetSocketAddress,
Proxy proxy,
okhttp3.Protocol protocol,
IOException ioe) |
void |
connectStart(okhttp3.Call call,
InetSocketAddress inetSocketAddress,
Proxy proxy) |
void |
dnsEnd(okhttp3.Call call,
String domainName,
List<InetAddress> inetAddressList) |
void |
dnsStart(okhttp3.Call call,
String domainName) |
void |
requestBodyEnd(okhttp3.Call call,
long byteCount) |
void |
requestHeadersEnd(okhttp3.Call call,
okhttp3.Request request) |
void |
requestHeadersStart(okhttp3.Call call) |
void |
responseBodyEnd(okhttp3.Call call,
long byteCount) |
void |
responseBodyStart(okhttp3.Call call) |
void |
responseHeadersEnd(okhttp3.Call call,
okhttp3.Response response) |
void |
responseHeadersStart(okhttp3.Call call) |
void |
secureConnectEnd(okhttp3.Call call,
okhttp3.Handshake handshake) |
void |
secureConnectStart(okhttp3.Call call) |
RequestEventListener |
setDnsCacheService(com.volcengine.tos.internal.util.dnscache.DnsCacheService dnsCacheService) |
RequestEventListener |
setHighLatencyLogThreshold(int highLatencyLogThreshold) |
public RequestEventListener setDnsCacheService(com.volcengine.tos.internal.util.dnscache.DnsCacheService dnsCacheService)
public RequestEventListener setHighLatencyLogThreshold(int highLatencyLogThreshold)
public void callStart(okhttp3.Call call)
callStart 在类中 okhttp3.EventListenerpublic void dnsStart(okhttp3.Call call,
String domainName)
dnsStart 在类中 okhttp3.EventListenerpublic void dnsEnd(okhttp3.Call call,
String domainName,
List<InetAddress> inetAddressList)
dnsEnd 在类中 okhttp3.EventListenerpublic void connectStart(okhttp3.Call call,
InetSocketAddress inetSocketAddress,
Proxy proxy)
connectStart 在类中 okhttp3.EventListenerpublic void connectEnd(okhttp3.Call call,
InetSocketAddress inetSocketAddress,
Proxy proxy,
okhttp3.Protocol protocol)
connectEnd 在类中 okhttp3.EventListenerpublic void connectFailed(okhttp3.Call call,
InetSocketAddress inetSocketAddress,
Proxy proxy,
okhttp3.Protocol protocol,
IOException ioe)
connectFailed 在类中 okhttp3.EventListenerpublic void secureConnectStart(okhttp3.Call call)
secureConnectStart 在类中 okhttp3.EventListenerpublic void secureConnectEnd(okhttp3.Call call,
okhttp3.Handshake handshake)
secureConnectEnd 在类中 okhttp3.EventListenerpublic void requestHeadersStart(okhttp3.Call call)
requestHeadersStart 在类中 okhttp3.EventListenerpublic void requestHeadersEnd(okhttp3.Call call,
okhttp3.Request request)
requestHeadersEnd 在类中 okhttp3.EventListenerpublic void requestBodyEnd(okhttp3.Call call,
long byteCount)
requestBodyEnd 在类中 okhttp3.EventListenerpublic void responseHeadersStart(okhttp3.Call call)
responseHeadersStart 在类中 okhttp3.EventListenerpublic void responseHeadersEnd(okhttp3.Call call,
okhttp3.Response response)
responseHeadersEnd 在类中 okhttp3.EventListenerpublic void responseBodyStart(okhttp3.Call call)
responseBodyStart 在类中 okhttp3.EventListenerpublic void responseBodyEnd(okhttp3.Call call,
long byteCount)
responseBodyEnd 在类中 okhttp3.EventListenerpublic void callEnd(okhttp3.Call call)
callEnd 在类中 okhttp3.EventListenerpublic void callFailed(okhttp3.Call call,
IOException ioe)
callFailed 在类中 okhttp3.EventListenerCopyright © 2024. All rights reserved.