org.apache.http.impl.conn

## Class Wire

- java.lang.Object
- - org.apache.http.impl.conn.Wire

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

  将数据记录到电线LOG。 TODO：使包私有。 不应该是公共API的一部分。
  从以下版本开始：
    4

- - ### 构造方法摘要

    构造方法
    Constructor and Description
    `Wire(org.apache.commons.logging.Log log)`
    `Wire(org.apache.commons.logging.Log log, String id)`

  - ### 方法摘要

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `enabled()`
    `void` | `input(byte[] b)`
    `void` | `input(byte[] b, int off, int len)`
    `void` | `input(InputStream instream)`
    `void` | `input(int b)`
    `void` | `input(String s)`
    `void` | `output(byte[] b)`
    `void` | `output(byte[] b, int off, int len)`
    `void` | `output(InputStream outstream)`
    `void` | `output(int b)`
    `void` | `output(String s)`

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

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

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

    - #### Wire

          public Wire(org.apache.commons.logging.Log log,
              String id)

      从以下版本开始：
        4.3

    - #### Wire

          public Wire(org.apache.commons.logging.Log log)

  - ### 方法详细信息

    - #### enabled

          public boolean enabled()

    - #### output

          public void output(InputStream outstream)
                      throws IOException

      异常
        `IOException`

    - #### input

          public void input(InputStream instream)
                     throws IOException

      异常
        `IOException`

    - #### output

          public void output(byte[] b,
                    int off,
                    int len)
                      throws IOException

      异常
        `IOException`

    - #### input

          public void input(byte[] b,
                   int off,
                   int len)
                     throws IOException

      异常
        `IOException`

    - #### output

          public void output(byte[] b)
                      throws IOException

      异常
        `IOException`

    - #### input

          public void input(byte[] b)
                     throws IOException

      异常
        `IOException`

    - #### output

          public void output(int b)
                      throws IOException

      异常
        `IOException`

    - #### input

          public void input(int b)
                     throws IOException

      异常
        `IOException`

    - #### output

          public void output(String s)
                      throws IOException

      异常
        `IOException`

    - #### input

          public void input(String s)
                     throws IOException

      异常
        `IOException`

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

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