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 TypeMethodDescriptionbooleanenabled()voidinput(byte[] b) voidinput(byte[] b, int off, int len) voidinput(int b) voidinput(InputStream inStream) voidvoidoutput(byte[] b) voidoutput(byte[] b, int off, int len) voidoutput(int b) voidoutput(InputStream outStream) voidprivate voidwire(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
-