I know a similar question have been asked and answered, but my case is a little different.
I have an encrypted response which when decrypted makes an XML response (decryption is implemented). So I can't use SimpleXmlConverterFactory. Since with Retrofit I don't have access to the body of the Response I can't decrypt it. However If I can somehow access the response body (with in the converter factory perhaps or by some other means) and change it to the decrypted XML I can continue using Retrofit.
So I did my research; while I don't understand Converter.Factory much I think there might be a way to achieve my goal by overriding either this or SimpleXmlConverterFactory. But I can't do that without source code.
So here's my question: can I access and decrypt the response String by any means using Retrofit?
If however I can manage that then I can keep using Retrofit otherwise I'll have to switch to HttpURLConnection. Which I don't want to do because this encrypted response is for a single call-response.