JavaCodeForHttpConnectionToCloud