public abstract class HttpExecuteEncryptionInterceptor extends Object implements com.google.api.client.http.HttpExecuteInterceptor, com.google.api.client.http.HttpResponseInterceptor
HttpExecuteInterceptor
- HttpResponseInterceptor| Constructor and Description |
|---|
HttpExecuteEncryptionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
decryptPayload(com.google.api.client.http.HttpHeaders headers,
String responsePayload) |
protected abstract String |
encryptPayload(com.google.api.client.http.HttpHeaders headers,
String requestPayload) |
static HttpExecuteEncryptionInterceptor |
from(EncryptionConfig config) |
void |
intercept(com.google.api.client.http.HttpRequest request) |
void |
interceptResponse(com.google.api.client.http.HttpResponse response) |
protected abstract String decryptPayload(com.google.api.client.http.HttpHeaders headers, String responsePayload) throws EncryptionException
EncryptionExceptionprotected abstract String encryptPayload(com.google.api.client.http.HttpHeaders headers, String requestPayload) throws EncryptionException
EncryptionExceptionpublic static HttpExecuteEncryptionInterceptor from(EncryptionConfig config)
public void intercept(com.google.api.client.http.HttpRequest request)
throws IOException
intercept in interface com.google.api.client.http.HttpExecuteInterceptorIOExceptionpublic void interceptResponse(com.google.api.client.http.HttpResponse response)
throws IOException
interceptResponse in interface com.google.api.client.http.HttpResponseInterceptorIOExceptionCopyright © 2021. All rights reserved.