code: @Override
     public InputStream getAsStream() throws IOException
     {
        if (url != null)
        {
           if (tempFile != null)
           {
              return PrivilegedFileHelper.fileInputStream(tempFile);
           }
           else if (spoolContent)
           {
              spoolContent();
              return PrivilegedFileHelper.fileInputStream(tempFile);
           }
           return url.openStream();
        }
        return super.getAsStream();
     }
docs: {@inheritDoc}