PageRenderTime 64ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

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

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