Package org.apache.xmlrpc.client
Class XmlRpcHttpTransport.ByteArrayReqWriter
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description private java.io.ByteArrayOutputStream
baos
-
Constructor Summary
Constructors Constructor Description ByteArrayReqWriter(XmlRpcRequest pRequest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getContentLength()
void
write(java.io.OutputStream pStream)
Writes the requests data to the given output stream.
-
-
-
Constructor Detail
-
ByteArrayReqWriter
ByteArrayReqWriter(XmlRpcRequest pRequest) throws XmlRpcException, java.io.IOException, org.xml.sax.SAXException
- Throws:
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 interfaceXmlRpcStreamTransport.ReqWriter
- Throws:
java.io.IOException
-
-