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 Object
implements XmlRpcStreamTransport.ReqWriter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
void
write
(OutputStream pStream) Writes the requests data to the given output stream.
-
Field Details
-
baos
-
-
Constructor Details
-
ByteArrayReqWriter
ByteArrayReqWriter(XmlRpcRequest pRequest) throws XmlRpcException, IOException, SAXException - Throws:
XmlRpcException
IOException
SAXException
-
-
Method Details
-
getContentLength
protected int getContentLength() -
write
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:
IOException
-