java.lang.Object
org.htmlunit.BlobUrlStore
The user-agent-wide blob URL store defined by
Blob URL Store.
- Author:
- Lai Quang Duong, Ronald Brill
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Removes all entries.voidAdds an entry.voidRemoves an entry.
-
Constructor Details
-
BlobUrlStore
public BlobUrlStore()
-
-
Method Details
-
put
Adds an entry.- Parameters:
blobUrl- the generatedblob:URLobject- theBlob(orFile) the URL refers toowningPage- the page that created the URL
-
resolve
- Parameters:
blobUrl- theblob:URL to resolve- Returns:
- the stored
Blob, ornullif there is no entry
-
remove
Removes an entry.- Parameters:
blobUrl- theblob:URL to remove
-
clear
public void clear()INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Removes all entries.
-