com.ning.http.util
Interface HostnameChecker

All Known Implementing Classes:
ProxyHostnameChecker

public interface HostnameChecker

Hostname checker interface.


Method Summary
 boolean match(String hostname, Principal principal)
           
 void match(String hostname, X509Certificate peerCertificate)
           
 

Method Detail

match

void match(String hostname,
           X509Certificate peerCertificate)
           throws CertificateException
Throws:
CertificateException

match

boolean match(String hostname,
              Principal principal)


Copyright © 2014. All Rights Reserved.