NoopHostnameVerifier (Apache HttpClient 4.5.13 API)
Date: 2020-10-03

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.http.conn.ssl
Class NoopHostnameVerifier

    java.lang.Object
      org.apache.http.conn.ssl.NoopHostnameVerifier

All Implemented Interfaces:
  HostnameVerifier

    @Contract(threading=IMMUTABLE)
    public class NoopHostnameVerifier

extends Object
implements 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
`static NoopHostnameVerifier` | `INSTANCE`

Constructor Summary
`NoopHostnameVerifier()`

Method Summary
`String` | `toString()`
`boolean` | `verify(String s, SSLSession sslSession)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### INSTANCE

    public static final NoopHostnameVerifier INSTANCE

Constructor Detail

### NoopHostnameVerifier

    public NoopHostnameVerifier()

Method Detail

### verify

    public boolean verify(String s,
                          SSLSession sslSession)

  Specified by:
    `verify` in interface `HostnameVerifier`

### toString

    public final String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.