Class XmlRpcHttpTransport.ByteArrayReqWriter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.ByteArrayOutputStream baos  
    • 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.
      • 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

    • 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