Package org.jclouds.logging.internal
Class Wire
- java.lang.Object
-
- org.jclouds.logging.internal.Wire
-
- Direct Known Subclasses:
HttpWire
,SignatureWire
public abstract class Wire extends Object
Logs data to the wire LOG, similar toorg.apache.HttpWire.impl.conn.Wire
-
-
Constructor Summary
Constructors Constructor Description Wire()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description InputStream
copy(String header, InputStream instream)
boolean
enabled()
protected abstract Logger
getWireLog()
InputStream
input(InputStream instream)
void
input(PayloadEnclosing request)
protected boolean
isLogSensitiveInformation()
void
output(PayloadEnclosing request)
<T> T
output(T data)
-
-
-
Field Detail
-
logger
protected Logger logger
-
-
Method Detail
-
getWireLog
protected abstract Logger getWireLog()
-
isLogSensitiveInformation
protected boolean isLogSensitiveInformation()
-
enabled
public boolean enabled()
-
copy
public InputStream copy(String header, InputStream instream)
-
input
public InputStream input(InputStream instream)
-
input
public void input(PayloadEnclosing request)
-
output
public void output(PayloadEnclosing request)
-
output
public <T> T output(T data)
-
-