public class AllureOkHttp3
extends java.lang.Object
implements okhttp3.Interceptor
| Constructor and Description |
|---|
AllureOkHttp3() |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain chain) |
AllureOkHttp3 |
setRequestTemplate(java.lang.String templatePath) |
AllureOkHttp3 |
setResponseTemplate(java.lang.String templatePath) |
AllureOkHttp3 |
withRequestTemplate(java.lang.String templatePath)
Deprecated.
use
setRequestTemplate(String) instead.
Scheduled for removal in 3.0 release. |
AllureOkHttp3 |
withResponseTemplate(java.lang.String templatePath)
Deprecated.
use
setResponseTemplate(String) instead.
Scheduled for removal in 3.0 release. |
public AllureOkHttp3 setRequestTemplate(java.lang.String templatePath)
public AllureOkHttp3 setResponseTemplate(java.lang.String templatePath)
@Deprecated public AllureOkHttp3 withRequestTemplate(java.lang.String templatePath)
setRequestTemplate(String) instead.
Scheduled for removal in 3.0 release.@Deprecated public AllureOkHttp3 withResponseTemplate(java.lang.String templatePath)
setResponseTemplate(String) instead.
Scheduled for removal in 3.0 release.public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws java.io.IOException
intercept in interface okhttp3.Interceptorjava.io.IOException