net.jini.url.httpmd
Class HttpmdIntegrityVerifier
java.lang.Object
  
net.jini.url.httpmd.HttpmdIntegrityVerifier
- All Implemented Interfaces: 
 - IntegrityVerifier
 
public class HttpmdIntegrityVerifier
- extends Object
- implements IntegrityVerifier
  
Integrity verifier for HTTPMD URLs. This class is intended to be specified
 in a resource to configure the operation of Security.verifyCodebaseIntegrity.
- Since:
 
  - 2.0
 
- Author:
 
  - Sun Microsystems, Inc.
 
- See Also:
 net.jini.url.httpmd
 
| 
Method Summary | 
 boolean | 
providesIntegrity(URL url)
 
          Returns true if the specified URL uses the "httpmd"
 protocol; returns false otherwise. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HttpmdIntegrityVerifier
public HttpmdIntegrityVerifier()
providesIntegrity
public boolean providesIntegrity(URL url)
- Returns 
true if the specified URL uses the "httpmd"
 protocol; returns false otherwise.
- Specified by:
 providesIntegrity in interface IntegrityVerifier
 
- Parameters:
 url - URL to verify
- Returns:
 true if the specified URL is known to provide
 content integrity; false otherwise
- Throws:
 NullPointerException - if the URL is null
 
 
Copyright © GigaSpaces.