程序包 | 说明 |
---|---|
com.tencent.qcloud.core.http |
限定符和类型 | 方法和说明 |
---|---|
HttpLoggingInterceptor.Level |
HttpLoggingInterceptor.getLevel() |
static HttpLoggingInterceptor.Level |
HttpLoggingInterceptor.Level.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static HttpLoggingInterceptor.Level[] |
HttpLoggingInterceptor.Level.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
static void |
OkHttpLoggingUtils.logRequest(okhttp3.Request request,
okhttp3.Protocol protocol,
HttpLoggingInterceptor.Level level,
HttpLoggingInterceptor.Logger logger) |
static void |
OkHttpLoggingUtils.logResponse(okhttp3.Response response,
long tookMs,
HttpLoggingInterceptor.Level level,
HttpLoggingInterceptor.Logger logger) |
HttpLoggingInterceptor |
HttpLoggingInterceptor.setLevel(HttpLoggingInterceptor.Level level)
Change the level at which this interceptor logs.
|