org.apache.http.cookie

## Class CookieOrigin

- java.lang.Object
- - org.apache.http.cookie.CookieOrigin

-     @Contract(threading=IMMUTABLE)
      public final class CookieOrigin
      extends Object

  CookieOrigin类封装了解析，验证或匹配HTTP Cookie时相关的源服务器的详细信息。
  从以下版本开始：
    4

- - ### 构造方法摘要

    构造方法
    Constructor and Description
    `CookieOrigin(String host, int port, String path, boolean secure)`

  - ### 方法摘要

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getHost()`
    `String` | `getPath()`
    `int` | `getPort()`
    `boolean` | `isSecure()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

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

    - #### CookieOrigin

          public CookieOrigin(String host,
                      int port,
                      String path,
                      boolean secure)

  - ### 方法详细信息

    - #### getHost

          public String getHost()

    - #### getPath

          public String getPath()

    - #### getPort

          public int getPort()

    - #### isSecure

          public boolean isSecure()

    - #### toString

          public String toString()

      重写：
        `toString`在类 `Object`

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

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