Package org.apache.http.conn.ssl
Class NoopHostnameVerifier
- java.lang.Object
-
- org.apache.http.conn.ssl.NoopHostnameVerifier
-
- All Implemented Interfaces:
javax.net.ssl.HostnameVerifier
@Contract(threading=IMMUTABLE) public class NoopHostnameVerifier extends java.lang.Object implements javax.net.ssl.HostnameVerifier
The NO_OP HostnameVerifier essentially turns hostname verification off. This implementation is a no-op, and never throws the SSLException.- Since:
- 4.4
-
-
Field Summary
Fields Modifier and Type Field Description static NoopHostnameVerifier
INSTANCE
-
Constructor Summary
Constructors Constructor Description NoopHostnameVerifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
boolean
verify(java.lang.String s, javax.net.ssl.SSLSession sslSession)
-
-
-
Field Detail
-
INSTANCE
public static final NoopHostnameVerifier INSTANCE
-
-