public class HttpRedirectInterceptor extends Object implements okhttp3.Interceptor
| Constructor and Description |
|---|
HttpRedirectInterceptor(boolean isfollowSslRedirects)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain it)
Intercepts and complete 307 and 308 redirects as described in RFC.
|
public HttpRedirectInterceptor(boolean isfollowSslRedirects)
isfollowSslRedirects - Bboolean true if following ssl redirectspublic okhttp3.Response intercept(okhttp3.Interceptor.Chain it)
throws IOException
intercept in interface okhttp3.InterceptorIOExceptionInterceptor.intercept(okhttp3.Interceptor.Chain)Copyright © 2025. All rights reserved.