org.apache.commons.httpclient
Class Wire

java.lang.Object
  extended byorg.apache.commons.httpclient.Wire

class Wire
extends java.lang.Object

Logs data to the wire LOG.

Since:
2.0beta1
Author:
Oleg Kalnichevski

Field Summary
static Wire CONTENT_WIRE
           
static Wire HEADER_WIRE
           
 
Method Summary
 boolean enabled()
           
 void input(byte[] b)
           
 void input(byte[] b, int off, int len)
           
 void input(java.io.InputStream instream)
           
 void input(int b)
           
 void input(java.lang.String s)
           
 void output(byte[] b)
           
 void output(byte[] b, int off, int len)
           
 void output(java.io.InputStream outstream)
           
 void output(int b)
           
 void output(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER_WIRE

public static Wire HEADER_WIRE

CONTENT_WIRE

public static Wire CONTENT_WIRE
Method Detail

enabled

public boolean enabled()

output

public void output(java.io.InputStream outstream)
            throws java.io.IOException
Throws:
java.io.IOException

input

public void input(java.io.InputStream instream)
           throws java.io.IOException
Throws:
java.io.IOException

output

public void output(byte[] b,
                   int off,
                   int len)
            throws java.io.IOException
Throws:
java.io.IOException

input

public void input(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

output

public void output(byte[] b)
            throws java.io.IOException
Throws:
java.io.IOException

input

public void input(byte[] b)
           throws java.io.IOException
Throws:
java.io.IOException

output

public void output(int b)
            throws java.io.IOException
Throws:
java.io.IOException

input

public void input(int b)
           throws java.io.IOException
Throws:
java.io.IOException

output

public void output(java.lang.String s)
            throws java.io.IOException
Throws:
java.io.IOException

input

public void input(java.lang.String s)
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.