public abstract class OkHttp2EncryptionInterceptor extends Object implements com.squareup.okhttp.Interceptor
| Constructor and Description |
|---|
OkHttp2EncryptionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
decryptPayload(com.squareup.okhttp.Response response,
com.squareup.okhttp.Response.Builder newBuilder,
String responsePayload) |
protected abstract String |
encryptPayload(com.squareup.okhttp.Request request,
com.squareup.okhttp.Request.Builder newBuilder,
String requestPayload) |
static OkHttp2EncryptionInterceptor |
from(EncryptionConfig config) |
com.squareup.okhttp.Response |
intercept(com.squareup.okhttp.Interceptor.Chain chain) |
protected abstract String decryptPayload(com.squareup.okhttp.Response response, com.squareup.okhttp.Response.Builder newBuilder, String responsePayload) throws EncryptionException
EncryptionExceptionprotected abstract String encryptPayload(com.squareup.okhttp.Request request, com.squareup.okhttp.Request.Builder newBuilder, String requestPayload) throws EncryptionException
EncryptionExceptionpublic static OkHttp2EncryptionInterceptor from(EncryptionConfig config)
public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain)
throws IOException
intercept in interface com.squareup.okhttp.InterceptorIOExceptionCopyright © 2021. All rights reserved.