Package org.apache.http.impl.conn
Class Wire
java.lang.Object
org.apache.http.impl.conn.Wire
Logs data to the wire LOG.
TODO: make package private. Should not be part of the public API.
- Since:
- 4.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
enabled()
void
input
(byte[] b) void
input
(byte[] b, int off, int len) void
input
(int b) void
input
(InputStream inStream) void
void
output
(byte[] b) void
output
(byte[] b, int off, int len) void
output
(int b) void
output
(InputStream outStream) void
private void
wire
(String header, InputStream inStream)
-
Field Details
-
log
private final org.apache.commons.logging.Log log -
id
-
-
Constructor Details
-
Wire
- Since:
- 4.3
-
Wire
public Wire(org.apache.commons.logging.Log log)
-
-
Method Details
-
wire
- Throws:
IOException
-
enabled
public boolean enabled() -
output
- Throws:
IOException
-
input
- Throws:
IOException
-
output
- Throws:
IOException
-
input
- Throws:
IOException
-
output
- Throws:
IOException
-
input
- Throws:
IOException
-
output
- Throws:
IOException
-
input
- Throws:
IOException
-
output
- Throws:
IOException
-
input
- Throws:
IOException
-