PageRenderTime 115ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 1ms

/lib/docs/org/apache/xmlrpc/client/XmlRpcStreamTransport.html

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 515 lines | 436 code | 56 blank | 23 comment | 0 complexity | 3b0d555f7d5de6795a2409b3e92fca34 MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_0) on Mon Apr 20 21:45:58 CEST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. XmlRpcStreamTransport (Apache XML-RPC 3.1.2 API)
  9. </TITLE>
  10. <META NAME="date" CONTENT="2009-04-20">
  11. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  12. <SCRIPT type="text/javascript">
  13. function windowTitle()
  14. {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="XmlRpcStreamTransport (Apache XML-RPC 3.1.2 API)";
  17. }
  18. }
  19. </SCRIPT>
  20. <NOSCRIPT>
  21. </NOSCRIPT>
  22. </HEAD>
  23. <BODY BGCOLOR="white" onload="windowTitle();">
  24. <HR>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <A NAME="navbar_top"><!-- --></A>
  27. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  28. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  29. <TR>
  30. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  31. <A NAME="navbar_top_firstrow"><!-- --></A>
  32. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  33. <TR ALIGN="center" VALIGN="top">
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcStreamTransport.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  41. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  42. </TR>
  43. </TABLE>
  44. </TD>
  45. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  46. </EM>
  47. </TD>
  48. </TR>
  49. <TR>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. &nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalTransportFactory.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.GzipReqWriter.html" title="class in org.apache.xmlrpc.client"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../index.html?org/apache/xmlrpc/client/XmlRpcStreamTransport.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="XmlRpcStreamTransport.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  56. &nbsp;<SCRIPT type="text/javascript">
  57. <!--
  58. if(window==top) {
  59. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  60. }
  61. //-->
  62. </SCRIPT>
  63. <NOSCRIPT>
  64. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  65. </NOSCRIPT>
  66. </FONT></TD>
  67. </TR>
  68. <TR>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  71. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  72. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  73. </TR>
  74. </TABLE>
  75. <A NAME="skip-navbar_top"></A>
  76. <!-- ========= END OF TOP NAVBAR ========= -->
  77. <HR>
  78. <!-- ======== START OF CLASS DATA ======== -->
  79. <H2>
  80. <FONT SIZE="-1">
  81. org.apache.xmlrpc.client</FONT>
  82. <BR>
  83. Class XmlRpcStreamTransport</H2>
  84. <PRE>
  85. java.lang.Object
  86. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportImpl.html" title="class in org.apache.xmlrpc.client">org.apache.xmlrpc.client.XmlRpcTransportImpl</A>
  87. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.client.XmlRpcStreamTransport</B>
  88. </PRE>
  89. <DL>
  90. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransport</A></DD>
  91. </DL>
  92. <DL>
  93. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcHttpTransport</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalStreamTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcLocalStreamTransport</A></DD>
  94. </DL>
  95. <HR>
  96. <DL>
  97. <DT><PRE>public abstract class <B>XmlRpcStreamTransport</B><DT>extends <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportImpl.html" title="class in org.apache.xmlrpc.client">XmlRpcTransportImpl</A></DL>
  98. </PRE>
  99. <P>
  100. Implementation of a transport class, which is based on an output
  101. stream for sending the request and an input stream for receiving
  102. the response,
  103. <P>
  104. <P>
  105. <HR>
  106. <P>
  107. <!-- ======== NESTED CLASS SUMMARY ======== -->
  108. <A NAME="nested_class_summary"><!-- --></A>
  109. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  110. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  111. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  112. <B>Nested Class Summary</B></FONT></TH>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  116. <CODE>protected &nbsp;class</CODE></FONT></TD>
  117. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.GzipReqWriter.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport.GzipReqWriter</A></B></CODE>
  118. <BR>
  119. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  120. </TR>
  121. <TR BGCOLOR="white" CLASS="TableRowColor">
  122. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  123. <CODE>protected static&nbsp;interface</CODE></FONT></TD>
  124. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client">XmlRpcStreamTransport.ReqWriter</A></B></CODE>
  125. <BR>
  126. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  127. </TR>
  128. <TR BGCOLOR="white" CLASS="TableRowColor">
  129. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  130. <CODE>protected &nbsp;class</CODE></FONT></TD>
  131. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriterImpl.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport.ReqWriterImpl</A></B></CODE>
  132. <BR>
  133. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  134. </TR>
  135. </TABLE>
  136. &nbsp;
  137. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  138. <A NAME="constructor_summary"><!-- --></A>
  139. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  140. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  141. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  142. <B>Constructor Summary</B></FONT></TH>
  143. </TR>
  144. <TR BGCOLOR="white" CLASS="TableRowColor">
  145. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  146. <CODE>protected </CODE></FONT></TD>
  147. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#XmlRpcStreamTransport(org.apache.xmlrpc.client.XmlRpcClient)">XmlRpcStreamTransport</A></B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A>&nbsp;pClient)</CODE>
  148. <BR>
  149. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance on behalf of the given client.</TD>
  150. </TR>
  151. </TABLE>
  152. &nbsp;
  153. <!-- ========== METHOD SUMMARY =========== -->
  154. <A NAME="method_summary"><!-- --></A>
  155. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  156. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  157. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  158. <B>Method Summary</B></FONT></TH>
  159. </TR>
  160. <TR BGCOLOR="white" CLASS="TableRowColor">
  161. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  162. <CODE>protected abstract &nbsp;void</CODE></FONT></TD>
  163. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#close()">close</A></B>()</CODE>
  164. <BR>
  165. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes the connection and ensures, that all resources are being
  166. released.</TD>
  167. </TR>
  168. <TR BGCOLOR="white" CLASS="TableRowColor">
  169. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  170. <CODE>protected abstract &nbsp;java.io.InputStream</CODE></FONT></TD>
  171. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#getInputStream()">getInputStream</A></B>()</CODE>
  172. <BR>
  173. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the input stream, from which the response is
  174. being read.</TD>
  175. </TR>
  176. <TR BGCOLOR="white" CLASS="TableRowColor">
  177. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  178. <CODE>protected &nbsp;boolean</CODE></FONT></TD>
  179. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#isCompressingRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig)">isCompressingRequest</A></B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamRequestConfig</A>&nbsp;pConfig)</CODE>
  180. <BR>
  181. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  182. </TR>
  183. <TR BGCOLOR="white" CLASS="TableRowColor">
  184. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  185. <CODE>protected abstract &nbsp;boolean</CODE></FONT></TD>
  186. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig)">isResponseGzipCompressed</A></B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamRequestConfig</A>&nbsp;pConfig)</CODE>
  187. <BR>
  188. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns, whether the response is gzip compressed.</TD>
  189. </TR>
  190. <TR BGCOLOR="white" CLASS="TableRowColor">
  191. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  192. <CODE>protected &nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client">XmlRpcStreamTransport.ReqWriter</A></CODE></FONT></TD>
  193. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#newReqWriter(org.apache.xmlrpc.XmlRpcRequest)">newReqWriter</A></B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A>&nbsp;pRequest)</CODE>
  194. <BR>
  195. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance of <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client"><CODE>XmlRpcStreamTransport.ReqWriter</CODE></A>.</TD>
  196. </TR>
  197. <TR BGCOLOR="white" CLASS="TableRowColor">
  198. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  199. <CODE>protected &nbsp;org.xml.sax.XMLReader</CODE></FONT></TD>
  200. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#newXMLReader()">newXMLReader</A></B>()</CODE>
  201. <BR>
  202. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  203. </TR>
  204. <TR BGCOLOR="white" CLASS="TableRowColor">
  205. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  206. <CODE>protected &nbsp;java.lang.Object</CODE></FONT></TD>
  207. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#readResponse(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig, java.io.InputStream)">readResponse</A></B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamRequestConfig</A>&nbsp;pConfig,
  208. java.io.InputStream&nbsp;pStream)</CODE>
  209. <BR>
  210. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  211. </TR>
  212. <TR BGCOLOR="white" CLASS="TableRowColor">
  213. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  214. <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
  215. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#sendRequest(org.apache.xmlrpc.XmlRpcRequest)">sendRequest</A></B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A>&nbsp;pRequest)</CODE>
  216. <BR>
  217. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send an XML-RPC message.</TD>
  218. </TR>
  219. <TR BGCOLOR="white" CLASS="TableRowColor">
  220. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  221. <CODE>protected abstract &nbsp;void</CODE></FONT></TD>
  222. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#writeRequest(org.apache.xmlrpc.client.XmlRpcStreamTransport.ReqWriter)">writeRequest</A></B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client">XmlRpcStreamTransport.ReqWriter</A>&nbsp;pWriter)</CODE>
  223. <BR>
  224. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  225. </TR>
  226. </TABLE>
  227. &nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlrpc.client.XmlRpcTransportImpl"><!-- --></A>
  228. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  229. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  230. <TH ALIGN="left"><B>Methods inherited from class org.apache.xmlrpc.client.<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportImpl.html" title="class in org.apache.xmlrpc.client">XmlRpcTransportImpl</A></B></TH>
  231. </TR>
  232. <TR BGCOLOR="white" CLASS="TableRowColor">
  233. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportImpl.html#getClient()">getClient</A></CODE></TD>
  234. </TR>
  235. </TABLE>
  236. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  237. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  238. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  239. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  240. </TR>
  241. <TR BGCOLOR="white" CLASS="TableRowColor">
  242. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  243. </TR>
  244. </TABLE>
  245. &nbsp;
  246. <P>
  247. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  248. <A NAME="constructor_detail"><!-- --></A>
  249. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  250. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  251. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  252. <B>Constructor Detail</B></FONT></TH>
  253. </TR>
  254. </TABLE>
  255. <A NAME="XmlRpcStreamTransport(org.apache.xmlrpc.client.XmlRpcClient)"><!-- --></A><H3>
  256. XmlRpcStreamTransport</H3>
  257. <PRE>
  258. protected <B>XmlRpcStreamTransport</B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A>&nbsp;pClient)</PRE>
  259. <DL>
  260. <DD>Creates a new instance on behalf of the given client.
  261. <P>
  262. </DL>
  263. <!-- ============ METHOD DETAIL ========== -->
  264. <A NAME="method_detail"><!-- --></A>
  265. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  266. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  267. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  268. <B>Method Detail</B></FONT></TH>
  269. </TR>
  270. </TABLE>
  271. <A NAME="close()"><!-- --></A><H3>
  272. close</H3>
  273. <PRE>
  274. protected abstract void <B>close</B>()
  275. throws <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClientException.html" title="class in org.apache.xmlrpc.client">XmlRpcClientException</A></PRE>
  276. <DL>
  277. <DD>Closes the connection and ensures, that all resources are being
  278. released.
  279. <P>
  280. <DD><DL>
  281. <DT><B>Throws:</B>
  282. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClientException.html" title="class in org.apache.xmlrpc.client">XmlRpcClientException</A></CODE></DL>
  283. </DD>
  284. </DL>
  285. <HR>
  286. <A NAME="isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig)"><!-- --></A><H3>
  287. isResponseGzipCompressed</H3>
  288. <PRE>
  289. protected abstract boolean <B>isResponseGzipCompressed</B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamRequestConfig</A>&nbsp;pConfig)</PRE>
  290. <DL>
  291. <DD>Returns, whether the response is gzip compressed.
  292. <P>
  293. <DD><DL>
  294. <DT><B>Parameters:</B><DD><CODE>pConfig</CODE> - The clients configuration.
  295. <DT><B>Returns:</B><DD>Whether the response stream is gzip compressed.</DL>
  296. </DD>
  297. </DL>
  298. <HR>
  299. <A NAME="getInputStream()"><!-- --></A><H3>
  300. getInputStream</H3>
  301. <PRE>
  302. protected abstract java.io.InputStream <B>getInputStream</B>()
  303. throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE>
  304. <DL>
  305. <DD>Returns the input stream, from which the response is
  306. being read.
  307. <P>
  308. <DD><DL>
  309. <DT><B>Throws:</B>
  310. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE></DL>
  311. </DD>
  312. </DL>
  313. <HR>
  314. <A NAME="isCompressingRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig)"><!-- --></A><H3>
  315. isCompressingRequest</H3>
  316. <PRE>
  317. protected boolean <B>isCompressingRequest</B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamRequestConfig</A>&nbsp;pConfig)</PRE>
  318. <DL>
  319. <DD><DL>
  320. </DL>
  321. </DD>
  322. </DL>
  323. <HR>
  324. <A NAME="newReqWriter(org.apache.xmlrpc.XmlRpcRequest)"><!-- --></A><H3>
  325. newReqWriter</H3>
  326. <PRE>
  327. protected <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client">XmlRpcStreamTransport.ReqWriter</A> <B>newReqWriter</B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A>&nbsp;pRequest)
  328. throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A>,
  329. java.io.IOException,
  330. org.xml.sax.SAXException</PRE>
  331. <DL>
  332. <DD>Creates a new instance of <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client"><CODE>XmlRpcStreamTransport.ReqWriter</CODE></A>.
  333. <P>
  334. <DD><DL>
  335. <DT><B>Throws:</B>
  336. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE> - Creating the instance failed.
  337. <DD><CODE>java.io.IOException</CODE> - Creating the instance failed, because
  338. an <CODE>IOException</CODE> occurs.
  339. <DD><CODE>org.xml.sax.SAXException</CODE> - Creating the instance failed, because
  340. the request could not be parsed.</DL>
  341. </DD>
  342. </DL>
  343. <HR>
  344. <A NAME="writeRequest(org.apache.xmlrpc.client.XmlRpcStreamTransport.ReqWriter)"><!-- --></A><H3>
  345. writeRequest</H3>
  346. <PRE>
  347. protected abstract void <B>writeRequest</B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client">XmlRpcStreamTransport.ReqWriter</A>&nbsp;pWriter)
  348. throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A>,
  349. java.io.IOException,
  350. org.xml.sax.SAXException</PRE>
  351. <DL>
  352. <DD><DL>
  353. <DT><B>Throws:</B>
  354. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE>
  355. <DD><CODE>java.io.IOException</CODE>
  356. <DD><CODE>org.xml.sax.SAXException</CODE></DL>
  357. </DD>
  358. </DL>
  359. <HR>
  360. <A NAME="sendRequest(org.apache.xmlrpc.XmlRpcRequest)"><!-- --></A><H3>
  361. sendRequest</H3>
  362. <PRE>
  363. public java.lang.Object <B>sendRequest</B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A>&nbsp;pRequest)
  364. throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE>
  365. <DL>
  366. <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html#sendRequest(org.apache.xmlrpc.XmlRpcRequest)">XmlRpcTransport</A></CODE></B></DD>
  367. <DD>Send an XML-RPC message. This method is called to send a message to the
  368. other party.
  369. <P>
  370. <DD><DL>
  371. <DT><B>Parameters:</B><DD><CODE>pRequest</CODE> - The request being performed.
  372. <DT><B>Returns:</B><DD>Result object, if invoking the remote method was successfull.
  373. <DT><B>Throws:</B>
  374. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE> - Performing the request failed.</DL>
  375. </DD>
  376. </DL>
  377. <HR>
  378. <A NAME="newXMLReader()"><!-- --></A><H3>
  379. newXMLReader</H3>
  380. <PRE>
  381. protected org.xml.sax.XMLReader <B>newXMLReader</B>()
  382. throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE>
  383. <DL>
  384. <DD><DL>
  385. <DT><B>Throws:</B>
  386. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE></DL>
  387. </DD>
  388. </DL>
  389. <HR>
  390. <A NAME="readResponse(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig, java.io.InputStream)"><!-- --></A><H3>
  391. readResponse</H3>
  392. <PRE>
  393. protected java.lang.Object <B>readResponse</B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamRequestConfig</A>&nbsp;pConfig,
  394. java.io.InputStream&nbsp;pStream)
  395. throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE>
  396. <DL>
  397. <DD><DL>
  398. <DT><B>Throws:</B>
  399. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE></DL>
  400. </DD>
  401. </DL>
  402. <!-- ========= END OF CLASS DATA ========= -->
  403. <HR>
  404. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  405. <A NAME="navbar_bottom"><!-- --></A>
  406. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  407. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  408. <TR>
  409. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  410. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  411. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  412. <TR ALIGN="center" VALIGN="top">
  413. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  414. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  415. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  416. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcStreamTransport.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  417. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  418. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  419. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  420. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  421. </TR>
  422. </TABLE>
  423. </TD>
  424. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  425. </EM>
  426. </TD>
  427. </TR>
  428. <TR>
  429. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  430. &nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalTransportFactory.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A>&nbsp;
  431. &nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.GzipReqWriter.html" title="class in org.apache.xmlrpc.client"><B>NEXT CLASS</B></A></FONT></TD>
  432. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  433. <A HREF="../../../../index.html?org/apache/xmlrpc/client/XmlRpcStreamTransport.html" target="_top"><B>FRAMES</B></A> &nbsp;
  434. &nbsp;<A HREF="XmlRpcStreamTransport.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  435. &nbsp;<SCRIPT type="text/javascript">
  436. <!--
  437. if(window==top) {
  438. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  439. }
  440. //-->
  441. </SCRIPT>
  442. <NOSCRIPT>
  443. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  444. </NOSCRIPT>
  445. </FONT></TD>
  446. </TR>
  447. <TR>
  448. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  449. SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  450. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  451. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  452. </TR>
  453. </TABLE>
  454. <A NAME="skip-navbar_bottom"></A>
  455. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  456. <HR>
  457. Copyright &#169; 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
  458. </BODY>
  459. </HTML>