org.apache.xmlrpc.client
Class XmlRpcHttpTransport.ByteArrayReqWriter

java.lang.Object
  extended by org.apache.xmlrpc.client.XmlRpcHttpTransport.ByteArrayReqWriter
All Implemented Interfaces:
XmlRpcStreamTransport.ReqWriter
Enclosing class:
XmlRpcHttpTransport

protected class XmlRpcHttpTransport.ByteArrayReqWriter
extends java.lang.Object
implements XmlRpcStreamTransport.ReqWriter


Field Summary
private  java.io.ByteArrayOutputStream baos
           
 
Constructor Summary
XmlRpcHttpTransport.ByteArrayReqWriter(org.apache.xmlrpc.XmlRpcRequest pRequest)
           
 
Method Summary
protected  int getContentLength()
           
 void write(java.io.OutputStream pStream)
          Writes the requests data to the given output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baos

private final java.io.ByteArrayOutputStream baos
Constructor Detail

XmlRpcHttpTransport.ByteArrayReqWriter

XmlRpcHttpTransport.ByteArrayReqWriter(org.apache.xmlrpc.XmlRpcRequest pRequest)
                                 throws org.apache.xmlrpc.XmlRpcException,
                                        java.io.IOException,
                                        org.xml.sax.SAXException
Throws:
org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.xml.sax.SAXException
Method Detail

getContentLength

protected int getContentLength()

write

public void write(java.io.OutputStream pStream)
           throws java.io.IOException
Description copied from interface: XmlRpcStreamTransport.ReqWriter
Writes the requests data to the given output stream. The method ensures, that the target is being closed.

Specified by:
write in interface XmlRpcStreamTransport.ReqWriter
Throws:
java.io.IOException