code: @Override
    public InputStream getInputStream() throws IOException
    {
      URLConnection urlConnection = _url.openConnection();
  
      urlConnection.setDoInput(true);
      urlConnection.setDoOutput(false);
      urlConnection.setUseCaches(false);
      urlConnection.setConnectTimeout(new Long(_connectTimeout.getDurationInMilliseconds()).intValue());
      urlConnection.setReadTimeout(new Long(_readTimeout.getDurationInMilliseconds()).intValue());
      urlConnection.connect();
      
      return urlConnection.getInputStream();
    }
docs: Important note: the caller of this method is responsible for properly closing the input
  stream!
  
  @return an input stream to the resource.
  @throws IOException if cannot get an input stream