Home » JAVA Programming » Networking » Question
  1. Which of these method of httpd class is used to write UrlCacheEntry object into local disk?
    1. writeCache()
    2. writeDiskEntry()
    3. writetoDisk()
    4. writeDiskCache()
    5. None of these
Correct Option: B

The writeDiskCache() method takes an UrlCacheEntry object and writes it persistently into the local disk. It constructs directory names out of URL, making sure to replace the slash(/) characters with system dependent seperatorChar.



Your comments will be displayed only after manual approval.