public class HttpmdIntegrityVerifier extends Object implements IntegrityVerifier
Security.verifyCodebaseIntegrity
.net.jini.url.httpmd
Constructor and Description |
---|
HttpmdIntegrityVerifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
providesIntegrity(URL url)
Returns
true if the specified URL uses the "httpmd"
protocol; returns false otherwise. |
public boolean providesIntegrity(URL url)
true
if the specified URL uses the "httpmd"
protocol; returns false
otherwise.providesIntegrity
in interface IntegrityVerifier
url
- URL to verifytrue
if the specified URL is known to provide
content integrity; false
otherwiseNullPointerException
- if the URL is null