question: configure this client to follow redirects from https to http and from http to https . if unset , protocol redirects will be followed . this is different than the built-in httpurlconnection 's default . concode_field_sep ProxySelector proxySelector concode_elem_sep Proxy proxy concode_elem_sep boolean followProtocolRedirects concode_elem_sep SSLSocketFactory sslSocketFactory concode_elem_sep Set<Route> failedRoutes concode_elem_sep HostnameVerifier hostnameVerifier concode_elem_sep ConnectionPool connectionPool concode_elem_sep CookieHandler cookieHandler concode_elem_sep ResponseCache responseCache concode_field_sep Proxy getProxy concode_elem_sep OkHttpClient setSSLSocketFactory concode_elem_sep HostnameVerifier getHostnameVerifier concode_elem_sep OkHttpClient setProxy concode_elem_sep CookieHandler getCookieHandler concode_elem_sep OkHttpClient copyWithDefaults concode_elem_sep ProxySelector getProxySelector concode_elem_sep OkHttpClient setResponseCache concode_elem_sep SSLSocketFactory getSslSocketFactory concode_elem_sep OkHttpClient setCookieHandler concode_elem_sep ResponseCache getResponseCache concode_elem_sep OkResponseCache okResponseCache concode_elem_sep OkHttpClient setProxySelector concode_elem_sep ConnectionPool getConnectionPool concode_elem_sep OkHttpClient setHostnameVerifier concode_elem_sep OkHttpClient setConnectionPool concode_elem_sep boolean getFollowProtocolRedirects concode_elem_sep HttpURLConnection open
target: OkHttpClient function ( boolean arg0 ) { this . followProtocolRedirects = arg0 ; return this ; }