-
Which of these method of httpd class is used to write UrlCacheEntry object into local disk?
-
- writeCache()
- writeDiskEntry()
- writetoDisk()
- writeDiskCache()
- 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.