I've an application which should only runs in 'https' mode.
So, here what I've done is, I've initiated a protocol check with
URLUtil.getProtocol(url), which returns me 'http' or 'https', then
what I want is, to automatically set that 'http' to 'https' from
Flex and by without refreshing the browser, I can proceed to call
the other internal functions which runs only with 'https' protocol.
Is it possible..?
I've tried with
URLUtil.replaceProtocol(URLUtil.getProtocol(url) , 'https'), but it
not seems working! Maybe its only read-only (?) returning a String?
How can I achieve this process? Is it feasible also?