public class XsrfTokenInterceptor extends Object implements okhttp3.Interceptor
Constructor and Description |
---|
XsrfTokenInterceptor() |
XsrfTokenInterceptor(String xsrfCookieName,
String xsrfHeaderName) |
Modifier and Type | Method and Description |
---|---|
String |
getXsrfCookieName() |
String |
getXsrfHeaderName() |
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain chain) |
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException
intercept
in interface okhttp3.Interceptor
IOException
public String getXsrfCookieName()
public String getXsrfHeaderName()
Copyright © 2018 Walmart, Inc.. All rights reserved.