public class UserAgentInterceptor extends Object implements okhttp3.Interceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_AGENT_PREFIX |
| Constructor and Description |
|---|
UserAgentInterceptor(Map<String,String> additionalInfo) |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildDefaultUserAgent(Map<String,String> additionalInfo) |
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain chain) |
public static final String USER_AGENT_PREFIX
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws IOException
intercept in interface okhttp3.InterceptorIOExceptionCopyright © 2020. All rights reserved.