org.apache.commons.httpclient
Class Wire

java.lang.Object
  |
  +--org.apache.commons.httpclient.Wire

class Wire
extends 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(InputStream instream)
           
 void input(int b)
           
 void input(String s)
           
 void output(byte[] b)
           
 void output(byte[] b, int off, int len)
           
 void output(InputStream outstream)
           
 void output(int b)
           
 void output(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(InputStream outstream)
            throws IOException

input

public void input(InputStream instream)
           throws IOException

output

public void output(byte[] b,
                   int off,
                   int len)
            throws IOException

input

public void input(byte[] b,
                  int off,
                  int len)
           throws IOException

output

public void output(byte[] b)
            throws IOException

input

public void input(byte[] b)
           throws IOException

output

public void output(int b)
            throws IOException

input

public void input(int b)
           throws IOException

output

public void output(String s)
            throws IOException

input

public void input(String s)
           throws IOException


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