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

  NO_OP HostnameVerifier基本上关闭主机名验证。 这个实现是无操作的，永远不会抛出SSLException。
  从以下版本开始：
    4.4

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static NoopHostnameVerifier` | `INSTANCE`

  - ### 构造方法摘要

    构造方法
    Constructor and Description
    `NoopHostnameVerifier()`

  - ### 方法摘要

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

- - ### 字段详细信息

    - #### INSTANCE

          public static final NoopHostnameVerifier INSTANCE

  - ### 构造方法详细信息

    - #### NoopHostnameVerifier

          public NoopHostnameVerifier()

  - ### 方法详细信息

    - #### verify

          public boolean verify(String s,
                       SSLSession sslSession)

      Specified by:
        `verify`在界面 `HostnameVerifier`

    - #### toString

          public final String toString()

      重写：
        `toString`在 `Object`

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

本帮助文档是使用 《谷歌翻译》翻译，请与英文版配合使用 by--QQ:654638585