AllowAllHostnameVerifier
  public
  
  
  
  class
  AllowAllHostnameVerifier
  
  
  
  
    extends AbstractVerifier
  
  
  
  
  
  
| java.lang.Object | ||
| ↳ | org.apache.http.conn.ssl.AbstractVerifier | |
| ↳ | org.apache.http.conn.ssl.AllowAllHostnameVerifier | |
      This class was deprecated
      in API level 22.
    Please use URL.openConnection() instead.
     Please visit this webpage
     for further details.
  
The ALLOW_ALL HostnameVerifier essentially turns hostname verification off. This implementation is a no-op, and never throws the SSLException.
Summary
| Public constructors | |
|---|---|
| 
      AllowAllHostnameVerifier()
       | |
| Public methods | |
|---|---|
| 
        
        
        
        final
        
        String | 
      toString()
      Returns a string representation of the object. | 
| 
        
        
        
        final
        
        void | 
      verify(String host, String[] cns, String[] subjectAlts)
       | 
| Inherited methods | |
|---|---|
Public constructors
AllowAllHostnameVerifier
public AllowAllHostnameVerifier ()
Public methods
toString
public final String toString ()
Returns a string representation of the object.
| Returns | |
|---|---|
| String | a string representation of the object. | 
verify
public final void verify (String host, String[] cns, String[] subjectAlts)
| Parameters | |
|---|---|
| host | String | 
| cns | String | 
| subjectAlts | String | 
