Code example for HttpHost

Methods: getHostName

0
        final String[] subjectAlts) throws SSLException {
        if (this.proxy == null) {
            super.verify(host, cns, subjectAlts, true);
            return; 
        } 
        log.debug("Proxy: {}", proxy);
        if (!host.equals(proxy.getHostName())) {
            super.verify(host, cns, subjectAlts, true);
        } 
    } 
 
    @Override 
    public final String toString() {
        return "LANTERN VERIFIER"; 
    } 
 
}