BurlapInput is unbuffered, so any client needs to provide its own buffering.
InputStream is = ...; // from http connection BurlapInput in = new BurlapInput(is); String value; in.startReply(); // read reply header value = in.readString(); // read string value in.completeReply(); // read reply footer
A successful completion will have a single value:
</burlap:call>
</burlap:reply>
<boolean>0</boolean> <boolean>1</boolean>
<int>value</int>
<base64>...</base64>
<burlap:call>
<double>value</double>
<header>value</header>
<length>value</length>
<date>ISO-8609 date</date>
<long>value</long>
<method>method</method>
&xml;xml string</xml>
<null></null>
<string>value</string>
<type>type</type>
<burlap:call> <method>method</method>
<burlap:reply> <value>