title: request.getScheme() is returning http instead of returning https in java
body: <pre><code>function demo(request,response){
          request.getScheme() is returning http instead of returning https.
          System.out.println(""+request.getScheme());
  }
  </code></pre>
  
  <p>output:http</p>
  
  <p>--above function demo is being called from main method but it prints http instead it should        print https while working on internet server.</p>