org.jclouds.logging.internal
Class Wire

java.lang.Object
  extended by org.jclouds.logging.internal.Wire
Direct Known Subclasses:
HttpWire, SignatureWire

public abstract class Wire
extends Object

Logs data to the wire LOG, similar to org.apache.HttpWire.impl.conn.Wire

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
Wire()
           
 
Method Summary
 InputStream copy(String header, InputStream instream)
           
 boolean enabled()
           
protected abstract  Logger getWireLog()
           
 InputStream input(InputStream instream)
           
 void input(PayloadEnclosing request)
           
 void output(PayloadEnclosing request)
           
<T> T
output(T data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger
Constructor Detail

Wire

public Wire()
Method Detail

getWireLog

protected abstract Logger getWireLog()

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)


Copyright © 2009-2012 jclouds. All Rights Reserved.