Class OkHttpRedirectNopInterceptor
-
- All Implemented Interfaces:
-
okhttp3.Interceptor,pro.fessional.wings.slardar.httprest.okhttp.OkHttpInterceptor
public class OkHttpRedirectNopInterceptor implements OkHttpInterceptor
When followingRedirects, change the Location header to Nop-Location according to the request's header setting, thus can stop the Redirects for this request.
see RetryAndFollowUpInterceptor#followUpRequest
- Since:
2022-11-01
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringNopLocationpublic final static StringLocationpublic final static Interceptor.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description OkHttpRedirectNopInterceptor()
-