Might throw NullPointerException if url is bogus, but how do you solidly validate a URL in Java? I don't know.
url
content
device URL