PageRenderTime 121ms CodeModel.GetById 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 538 lines | 464 code | 50 blank | 24 comment | 0 complexity | 6a5fe9811f72cec2b042b998db773181 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:59 CEST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. XmlRpcSunHttpTransport (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="XmlRpcSunHttpTransport (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/XmlRpcSunHttpTransport.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/XmlRpcSun15HttpTransportFactory.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransportFactory.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/XmlRpcSunHttpTransport.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="XmlRpcSunHttpTransport.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_classes_inherited_from_class_org.apache.xmlrpc.client.XmlRpcHttpTransport">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlrpc.client.XmlRpcHttpTransport">FIELD</A>&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 XmlRpcSunHttpTransport</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 "><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client">org.apache.xmlrpc.client.XmlRpcStreamTransport</A>
  88. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html" title="class in org.apache.xmlrpc.client">org.apache.xmlrpc.client.XmlRpcHttpTransport</A>
  89. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.client.XmlRpcSunHttpTransport</B>
  90. </PRE>
  91. <DL>
  92. <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>
  93. </DL>
  94. <DL>
  95. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSun14HttpTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcSun14HttpTransport</A></DD>
  96. </DL>
  97. <HR>
  98. <DL>
  99. <DT><PRE>public class <B>XmlRpcSunHttpTransport</B><DT>extends <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcHttpTransport</A></DL>
  100. </PRE>
  101. <P>
  102. Default implementation of an HTTP transport, based on the
  103. <CODE>HttpURLConnection</CODE> class.
  104. <P>
  105. <P>
  106. <HR>
  107. <P>
  108. <!-- ======== NESTED CLASS SUMMARY ======== -->
  109. <A NAME="nested_class_summary"><!-- --></A>
  110. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  111. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  112. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  113. <B>Nested Class Summary</B></FONT></TH>
  114. </TR>
  115. </TABLE>
  116. &nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlrpc.client.XmlRpcHttpTransport"><!-- --></A>
  117. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  118. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  119. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.xmlrpc.client.<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcHttpTransport</A></B></TH>
  120. </TR>
  121. <TR BGCOLOR="white" CLASS="TableRowColor">
  122. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.ByteArrayReqWriter.html" title="class in org.apache.xmlrpc.client">XmlRpcHttpTransport.ByteArrayReqWriter</A></CODE></TD>
  123. </TR>
  124. </TABLE>
  125. &nbsp;
  126. <A NAME="nested_classes_inherited_from_class_org.apache.xmlrpc.client.XmlRpcStreamTransport"><!-- --></A>
  127. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  128. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  129. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.xmlrpc.client.<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport</A></B></TH>
  130. </TR>
  131. <TR BGCOLOR="white" CLASS="TableRowColor">
  132. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.GzipReqWriter.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport.GzipReqWriter</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client">XmlRpcStreamTransport.ReqWriter</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriterImpl.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport.ReqWriterImpl</A></CODE></TD>
  133. </TR>
  134. </TABLE>
  135. &nbsp;
  136. <!-- =========== FIELD SUMMARY =========== -->
  137. <A NAME="field_summary"><!-- --></A>
  138. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  139. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  140. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  141. <B>Field Summary</B></FONT></TH>
  142. </TR>
  143. </TABLE>
  144. &nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlrpc.client.XmlRpcHttpTransport"><!-- --></A>
  145. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  146. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  147. <TH ALIGN="left"><B>Fields inherited from class org.apache.xmlrpc.client.<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcHttpTransport</A></B></TH>
  148. </TR>
  149. <TR BGCOLOR="white" CLASS="TableRowColor">
  150. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#USER_AGENT">USER_AGENT</A></CODE></TD>
  151. </TR>
  152. </TABLE>
  153. &nbsp;
  154. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  155. <A NAME="constructor_summary"><!-- --></A>
  156. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  157. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  158. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  159. <B>Constructor Summary</B></FONT></TH>
  160. </TR>
  161. <TR BGCOLOR="white" CLASS="TableRowColor">
  162. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransport.html#XmlRpcSunHttpTransport(org.apache.xmlrpc.client.XmlRpcClient)">XmlRpcSunHttpTransport</A></B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A>&nbsp;pClient)</CODE>
  163. <BR>
  164. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance.</TD>
  165. </TR>
  166. </TABLE>
  167. &nbsp;
  168. <!-- ========== METHOD SUMMARY =========== -->
  169. <A NAME="method_summary"><!-- --></A>
  170. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  171. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  172. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  173. <B>Method Summary</B></FONT></TH>
  174. </TR>
  175. <TR BGCOLOR="white" CLASS="TableRowColor">
  176. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  177. <CODE>protected &nbsp;void</CODE></FONT></TD>
  178. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransport.html#close()">close</A></B>()</CODE>
  179. <BR>
  180. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes the connection and ensures, that all resources are being
  181. released.</TD>
  182. </TR>
  183. <TR BGCOLOR="white" CLASS="TableRowColor">
  184. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  185. <CODE>protected &nbsp;java.io.InputStream</CODE></FONT></TD>
  186. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransport.html#getInputStream()">getInputStream</A></B>()</CODE>
  187. <BR>
  188. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the input stream, from which the response is
  189. being read.</TD>
  190. </TR>
  191. <TR BGCOLOR="white" CLASS="TableRowColor">
  192. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  193. <CODE>protected &nbsp;java.net.URLConnection</CODE></FONT></TD>
  194. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransport.html#getURLConnection()">getURLConnection</A></B>()</CODE>
  195. <BR>
  196. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For use by subclasses.</TD>
  197. </TR>
  198. <TR BGCOLOR="white" CLASS="TableRowColor">
  199. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  200. <CODE>protected &nbsp;boolean</CODE></FONT></TD>
  201. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransport.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>
  202. <BR>
  203. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns, whether the response is gzip compressed.</TD>
  204. </TR>
  205. <TR BGCOLOR="white" CLASS="TableRowColor">
  206. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  207. <CODE>protected &nbsp;java.net.URLConnection</CODE></FONT></TD>
  208. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransport.html#newURLConnection(java.net.URL)">newURLConnection</A></B>(java.net.URL&nbsp;pURL)</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/XmlRpcSunHttpTransport.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 &nbsp;void</CODE></FONT></TD>
  222. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransport.html#setRequestHeader(java.lang.String, java.lang.String)">setRequestHeader</A></B>(java.lang.String&nbsp;pHeader,
  223. java.lang.String&nbsp;pValue)</CODE>
  224. <BR>
  225. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  226. </TR>
  227. <TR BGCOLOR="white" CLASS="TableRowColor">
  228. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  229. <CODE>protected &nbsp;void</CODE></FONT></TD>
  230. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransport.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>
  231. <BR>
  232. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  233. </TR>
  234. </TABLE>
  235. &nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlrpc.client.XmlRpcHttpTransport"><!-- --></A>
  236. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  237. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  238. <TH ALIGN="left"><B>Methods inherited from class org.apache.xmlrpc.client.<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcHttpTransport</A></B></TH>
  239. </TR>
  240. <TR BGCOLOR="white" CLASS="TableRowColor">
  241. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#getUserAgent()">getUserAgent</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#initHttpHeaders(org.apache.xmlrpc.XmlRpcRequest)">initHttpHeaders</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#isUsingByteArrayOutput(org.apache.xmlrpc.client.XmlRpcHttpClientConfig)">isUsingByteArrayOutput</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#newReqWriter(org.apache.xmlrpc.XmlRpcRequest)">newReqWriter</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#setCompressionHeaders(org.apache.xmlrpc.client.XmlRpcHttpClientConfig)">setCompressionHeaders</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#setContentLength(int)">setContentLength</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#setCredentials(org.apache.xmlrpc.client.XmlRpcHttpClientConfig)">setCredentials</A></CODE></TD>
  242. </TR>
  243. </TABLE>
  244. &nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlrpc.client.XmlRpcStreamTransport"><!-- --></A>
  245. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  246. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  247. <TH ALIGN="left"><B>Methods inherited from class org.apache.xmlrpc.client.<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport</A></B></TH>
  248. </TR>
  249. <TR BGCOLOR="white" CLASS="TableRowColor">
  250. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#isCompressingRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig)">isCompressingRequest</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#newXMLReader()">newXMLReader</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#readResponse(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig, java.io.InputStream)">readResponse</A></CODE></TD>
  251. </TR>
  252. </TABLE>
  253. &nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlrpc.client.XmlRpcTransportImpl"><!-- --></A>
  254. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  255. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  256. <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>
  257. </TR>
  258. <TR BGCOLOR="white" CLASS="TableRowColor">
  259. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportImpl.html#getClient()">getClient</A></CODE></TD>
  260. </TR>
  261. </TABLE>
  262. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  263. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  264. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  265. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  266. </TR>
  267. <TR BGCOLOR="white" CLASS="TableRowColor">
  268. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  269. </TR>
  270. </TABLE>
  271. &nbsp;
  272. <P>
  273. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  274. <A NAME="constructor_detail"><!-- --></A>
  275. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  276. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  277. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  278. <B>Constructor Detail</B></FONT></TH>
  279. </TR>
  280. </TABLE>
  281. <A NAME="XmlRpcSunHttpTransport(org.apache.xmlrpc.client.XmlRpcClient)"><!-- --></A><H3>
  282. XmlRpcSunHttpTransport</H3>
  283. <PRE>
  284. public <B>XmlRpcSunHttpTransport</B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A>&nbsp;pClient)</PRE>
  285. <DL>
  286. <DD>Creates a new instance.
  287. <P>
  288. <DL>
  289. <DT><B>Parameters:</B><DD><CODE>pClient</CODE> - The client controlling this instance.</DL>
  290. </DL>
  291. <!-- ============ METHOD DETAIL ========== -->
  292. <A NAME="method_detail"><!-- --></A>
  293. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  294. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  295. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  296. <B>Method Detail</B></FONT></TH>
  297. </TR>
  298. </TABLE>
  299. <A NAME="newURLConnection(java.net.URL)"><!-- --></A><H3>
  300. newURLConnection</H3>
  301. <PRE>
  302. protected java.net.URLConnection <B>newURLConnection</B>(java.net.URL&nbsp;pURL)
  303. throws java.io.IOException</PRE>
  304. <DL>
  305. <DD><DL>
  306. <DT><B>Throws:</B>
  307. <DD><CODE>java.io.IOException</CODE></DL>
  308. </DD>
  309. </DL>
  310. <HR>
  311. <A NAME="getURLConnection()"><!-- --></A><H3>
  312. getURLConnection</H3>
  313. <PRE>
  314. protected java.net.URLConnection <B>getURLConnection</B>()</PRE>
  315. <DL>
  316. <DD>For use by subclasses.
  317. <P>
  318. <DD><DL>
  319. </DL>
  320. </DD>
  321. </DL>
  322. <HR>
  323. <A NAME="sendRequest(org.apache.xmlrpc.XmlRpcRequest)"><!-- --></A><H3>
  324. sendRequest</H3>
  325. <PRE>
  326. public java.lang.Object <B>sendRequest</B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A>&nbsp;pRequest)
  327. throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE>
  328. <DL>
  329. <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>
  330. <DD>Send an XML-RPC message. This method is called to send a message to the
  331. other party.
  332. <P>
  333. <DD><DL>
  334. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html#sendRequest(org.apache.xmlrpc.XmlRpcRequest)">sendRequest</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransport</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#sendRequest(org.apache.xmlrpc.XmlRpcRequest)">sendRequest</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcHttpTransport</A></CODE></DL>
  335. </DD>
  336. <DD><DL>
  337. <DT><B>Parameters:</B><DD><CODE>pRequest</CODE> - The request being performed.
  338. <DT><B>Returns:</B><DD>Result object, if invoking the remote method was successfull.
  339. <DT><B>Throws:</B>
  340. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE> - Performing the request failed.</DL>
  341. </DD>
  342. </DL>
  343. <HR>
  344. <A NAME="setRequestHeader(java.lang.String, java.lang.String)"><!-- --></A><H3>
  345. setRequestHeader</H3>
  346. <PRE>
  347. protected void <B>setRequestHeader</B>(java.lang.String&nbsp;pHeader,
  348. java.lang.String&nbsp;pValue)</PRE>
  349. <DL>
  350. <DD><DL>
  351. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#setRequestHeader(java.lang.String, java.lang.String)">setRequestHeader</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcHttpTransport</A></CODE></DL>
  352. </DD>
  353. <DD><DL>
  354. </DL>
  355. </DD>
  356. </DL>
  357. <HR>
  358. <A NAME="close()"><!-- --></A><H3>
  359. close</H3>
  360. <PRE>
  361. protected void <B>close</B>()
  362. throws <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClientException.html" title="class in org.apache.xmlrpc.client">XmlRpcClientException</A></PRE>
  363. <DL>
  364. <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#close()">XmlRpcStreamTransport</A></CODE></B></DD>
  365. <DD>Closes the connection and ensures, that all resources are being
  366. released.
  367. <P>
  368. <DD><DL>
  369. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#close()">close</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport</A></CODE></DL>
  370. </DD>
  371. <DD><DL>
  372. <DT><B>Throws:</B>
  373. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClientException.html" title="class in org.apache.xmlrpc.client">XmlRpcClientException</A></CODE></DL>
  374. </DD>
  375. </DL>
  376. <HR>
  377. <A NAME="isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig)"><!-- --></A><H3>
  378. isResponseGzipCompressed</H3>
  379. <PRE>
  380. protected boolean <B>isResponseGzipCompressed</B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamRequestConfig</A>&nbsp;pConfig)</PRE>
  381. <DL>
  382. <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig)">XmlRpcStreamTransport</A></CODE></B></DD>
  383. <DD>Returns, whether the response is gzip compressed.
  384. <P>
  385. <DD><DL>
  386. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig)">isResponseGzipCompressed</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport</A></CODE></DL>
  387. </DD>
  388. <DD><DL>
  389. <DT><B>Parameters:</B><DD><CODE>pConfig</CODE> - The clients configuration.
  390. <DT><B>Returns:</B><DD>Whether the response stream is gzip compressed.</DL>
  391. </DD>
  392. </DL>
  393. <HR>
  394. <A NAME="getInputStream()"><!-- --></A><H3>
  395. getInputStream</H3>
  396. <PRE>
  397. protected java.io.InputStream <B>getInputStream</B>()
  398. throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE>
  399. <DL>
  400. <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#getInputStream()">XmlRpcStreamTransport</A></CODE></B></DD>
  401. <DD>Returns the input stream, from which the response is
  402. being read.
  403. <P>
  404. <DD><DL>
  405. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#getInputStream()">getInputStream</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport</A></CODE></DL>
  406. </DD>
  407. <DD><DL>
  408. <DT><B>Throws:</B>
  409. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE></DL>
  410. </DD>
  411. </DL>
  412. <HR>
  413. <A NAME="writeRequest(org.apache.xmlrpc.client.XmlRpcStreamTransport.ReqWriter)"><!-- --></A><H3>
  414. writeRequest</H3>
  415. <PRE>
  416. protected 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)
  417. throws java.io.IOException,
  418. <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A>,
  419. org.xml.sax.SAXException</PRE>
  420. <DL>
  421. <DD><DL>
  422. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#writeRequest(org.apache.xmlrpc.client.XmlRpcStreamTransport.ReqWriter)">writeRequest</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport</A></CODE></DL>
  423. </DD>
  424. <DD><DL>
  425. <DT><B>Throws:</B>
  426. <DD><CODE>java.io.IOException</CODE>
  427. <DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE>
  428. <DD><CODE>org.xml.sax.SAXException</CODE></DL>
  429. </DD>
  430. </DL>
  431. <!-- ========= END OF CLASS DATA ========= -->
  432. <HR>
  433. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  434. <A NAME="navbar_bottom"><!-- --></A>
  435. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  436. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  437. <TR>
  438. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  439. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  440. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  441. <TR ALIGN="center" VALIGN="top">
  442. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  443. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  444. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  445. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcSunHttpTransport.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  446. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  447. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  448. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  449. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  450. </TR>
  451. </TABLE>
  452. </TD>
  453. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  454. </EM>
  455. </TD>
  456. </TR>
  457. <TR>
  458. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  459. &nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSun15HttpTransportFactory.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A>&nbsp;
  460. &nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransportFactory.html" title="class in org.apache.xmlrpc.client"><B>NEXT CLASS</B></A></FONT></TD>
  461. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  462. <A HREF="../../../../index.html?org/apache/xmlrpc/client/XmlRpcSunHttpTransport.html" target="_top"><B>FRAMES</B></A> &nbsp;
  463. &nbsp;<A HREF="XmlRpcSunHttpTransport.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  464. &nbsp;<SCRIPT type="text/javascript">
  465. <!--
  466. if(window==top) {
  467. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  468. }
  469. //-->
  470. </SCRIPT>
  471. <NOSCRIPT>
  472. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  473. </NOSCRIPT>
  474. </FONT></TD>
  475. </TR>
  476. <TR>
  477. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  478. SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.apache.xmlrpc.client.XmlRpcHttpTransport">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlrpc.client.XmlRpcHttpTransport">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  479. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  480. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  481. </TR>
  482. </TABLE>
  483. <A NAME="skip-navbar_bottom"></A>
  484. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  485. <HR>
  486. Copyright &#169; 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
  487. </BODY>
  488. </HTML>