PageRenderTime 71ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 281 lines | 227 code | 32 blank | 22 comment | 0 complexity | 9ad3488591867fa735cca1c7f16931b4 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. XmlRpcSunHttpTransportFactory (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="XmlRpcSunHttpTransportFactory (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/XmlRpcSunHttpTransportFactory.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/XmlRpcSunHttpTransport.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface 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/XmlRpcSunHttpTransportFactory.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="XmlRpcSunHttpTransportFactory.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;NESTED&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 XmlRpcSunHttpTransportFactory</H2>
  84. <PRE>
  85. java.lang.Object
  86. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactoryImpl.html" title="class in org.apache.xmlrpc.client">org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl</A>
  87. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.client.XmlRpcSunHttpTransportFactory</B>
  88. </PRE>
  89. <DL>
  90. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactory.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransportFactory</A></DD>
  91. </DL>
  92. <HR>
  93. <DL>
  94. <DT><PRE>public class <B>XmlRpcSunHttpTransportFactory</B><DT>extends <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactoryImpl.html" title="class in org.apache.xmlrpc.client">XmlRpcTransportFactoryImpl</A></DL>
  95. </PRE>
  96. <P>
  97. Default implementation of a HTTP transport factory, based on the
  98. <CODE>HttpURLConnection</CODE> class.
  99. <P>
  100. <P>
  101. <HR>
  102. <P>
  103. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  104. <A NAME="constructor_summary"><!-- --></A>
  105. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  106. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  107. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  108. <B>Constructor Summary</B></FONT></TH>
  109. </TR>
  110. <TR BGCOLOR="white" CLASS="TableRowColor">
  111. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransportFactory.html#XmlRpcSunHttpTransportFactory(org.apache.xmlrpc.client.XmlRpcClient)">XmlRpcSunHttpTransportFactory</A></B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A>&nbsp;pClient)</CODE>
  112. <BR>
  113. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new factory, which creates transports for the given client.</TD>
  114. </TR>
  115. </TABLE>
  116. &nbsp;
  117. <!-- ========== METHOD SUMMARY =========== -->
  118. <A NAME="method_summary"><!-- --></A>
  119. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  120. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  121. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  122. <B>Method Summary</B></FONT></TH>
  123. </TR>
  124. <TR BGCOLOR="white" CLASS="TableRowColor">
  125. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  126. <CODE>&nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransport</A></CODE></FONT></TD>
  127. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransportFactory.html#getTransport()">getTransport</A></B>()</CODE>
  128. <BR>
  129. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an instance of <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client"><CODE>XmlRpcTransport</CODE></A>.</TD>
  130. </TR>
  131. </TABLE>
  132. &nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl"><!-- --></A>
  133. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  134. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  135. <TH ALIGN="left"><B>Methods inherited from class org.apache.xmlrpc.client.<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactoryImpl.html" title="class in org.apache.xmlrpc.client">XmlRpcTransportFactoryImpl</A></B></TH>
  136. </TR>
  137. <TR BGCOLOR="white" CLASS="TableRowColor">
  138. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactoryImpl.html#getClient()">getClient</A></CODE></TD>
  139. </TR>
  140. </TABLE>
  141. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  142. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  143. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  144. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  145. </TR>
  146. <TR BGCOLOR="white" CLASS="TableRowColor">
  147. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  148. </TR>
  149. </TABLE>
  150. &nbsp;
  151. <P>
  152. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  153. <A NAME="constructor_detail"><!-- --></A>
  154. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  155. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  156. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  157. <B>Constructor Detail</B></FONT></TH>
  158. </TR>
  159. </TABLE>
  160. <A NAME="XmlRpcSunHttpTransportFactory(org.apache.xmlrpc.client.XmlRpcClient)"><!-- --></A><H3>
  161. XmlRpcSunHttpTransportFactory</H3>
  162. <PRE>
  163. public <B>XmlRpcSunHttpTransportFactory</B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A>&nbsp;pClient)</PRE>
  164. <DL>
  165. <DD>Creates a new factory, which creates transports for the given client.
  166. <P>
  167. <DL>
  168. <DT><B>Parameters:</B><DD><CODE>pClient</CODE> - The client, which is operating the factory.</DL>
  169. </DL>
  170. <!-- ============ METHOD DETAIL ========== -->
  171. <A NAME="method_detail"><!-- --></A>
  172. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  173. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  174. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  175. <B>Method Detail</B></FONT></TH>
  176. </TR>
  177. </TABLE>
  178. <A NAME="getTransport()"><!-- --></A><H3>
  179. getTransport</H3>
  180. <PRE>
  181. public <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransport</A> <B>getTransport</B>()</PRE>
  182. <DL>
  183. <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactory.html#getTransport()">XmlRpcTransportFactory</A></CODE></B></DD>
  184. <DD>Returns an instance of <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client"><CODE>XmlRpcTransport</CODE></A>. This may
  185. be a singleton, but the caller should not depend on that:
  186. A new instance may as well be created for any request.
  187. <P>
  188. <DD><DL>
  189. <DT><B>Returns:</B><DD>The configured transport.</DL>
  190. </DD>
  191. </DL>
  192. <!-- ========= END OF CLASS DATA ========= -->
  193. <HR>
  194. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  195. <A NAME="navbar_bottom"><!-- --></A>
  196. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  197. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  198. <TR>
  199. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  200. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  201. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  202. <TR ALIGN="center" VALIGN="top">
  203. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  204. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  205. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  206. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcSunHttpTransportFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  207. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  208. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  209. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  210. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  211. </TR>
  212. </TABLE>
  213. </TD>
  214. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  215. </EM>
  216. </TD>
  217. </TR>
  218. <TR>
  219. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  220. &nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransport.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A>&nbsp;
  221. &nbsp;<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client"><B>NEXT CLASS</B></A></FONT></TD>
  222. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  223. <A HREF="../../../../index.html?org/apache/xmlrpc/client/XmlRpcSunHttpTransportFactory.html" target="_top"><B>FRAMES</B></A> &nbsp;
  224. &nbsp;<A HREF="XmlRpcSunHttpTransportFactory.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  225. &nbsp;<SCRIPT type="text/javascript">
  226. <!--
  227. if(window==top) {
  228. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  229. }
  230. //-->
  231. </SCRIPT>
  232. <NOSCRIPT>
  233. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  234. </NOSCRIPT>
  235. </FONT></TD>
  236. </TR>
  237. <TR>
  238. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  239. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  240. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  241. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  242. </TR>
  243. </TABLE>
  244. <A NAME="skip-navbar_bottom"></A>
  245. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  246. <HR>
  247. Copyright &#169; 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
  248. </BODY>
  249. </HTML>