public class DecryptRequest extends Request
connector, gson, queryParameters| Constructor and Description |
|---|
DecryptRequest(ServiceConnector connector,
String route,
String token,
Bookmark bookmark) |
| Modifier and Type | Method and Description |
|---|---|
String |
handleDecryptResponse(CodotaResponse response) |
String |
run()
data=json.dumps({'reqData':[[
encrypted_key.encode('base64'),
encrypted_iv.encode('base64'),
encrypted_text.encode('base64')]]}),
headers={"Content-type": "application/json"},
verify=False)
|
getBodyAttributes, getHeaderAttributes, getQueryParameters, getRoute, getToken, withBodyAttribute, withBodyAttributes, withHeaderAttribute, withHeaderAttributes, withQueryParameter, withQueryParamspublic DecryptRequest(ServiceConnector connector, String route, String token, Bookmark bookmark)
@Nullable public String run() throws CodotaHttpException
CodotaHttpExceptionpublic String handleDecryptResponse(@NotNull CodotaResponse response) throws CodotaHttpException
CodotaHttpExceptionCopyright © 2018. All rights reserved.