title: The method readAllBytes() is undefined for the type InputStream
body: <p>I cannot get rid of The method readAllBytes() is undefined for the type InputStream error.
  I assume this caused because of the version I use ?
  JDK compliance 1.8
  Please advise thank you.</p>
  <pre><code>if (http.getResponseCode() == 200) {                    
              ObjectMapper mapper = new ObjectMapper();           
              try (InputStream inputStream = http.getInputStream()) {
                  String jsonContent = new String(inputStream.readAllBytes(), StandardCharsets.UTF_8);
                  JsonNode node = mapper.readTree(jsonContent);
                  String Stytch_user_id = node.get(&quot;user_id&quot;).textValue();
                  Object[] objects = getUserLogin(Stytch_user_id, &quot;P0002&quot;,&quot;123456789&quot;);
              }       
          } else { 
              System.out.println(&quot;failed&quot;);
          }
  </code></pre>