Code example for X509HostnameVerifier

Methods: verify

0
         } catch (SocketException var18) {
            throw var18;
         } 
 
         try { 
            this.hostnameVerifier.verify(var2, var8);
            return var8;
         } catch (IOException var17) {
            try { 
               var8.close();
            } catch (Exception var16) {
               ; 
            } 
 
            throw var17;
         } 
      } 
   } 
 
   public Socket createSocket() throws IOException {
      return (SSLSocket)this.socketfactory.createSocket();