/lib/docs/org/apache/xmlrpc/client/XmlRpcSun14HttpTransportFactory.html
HTML | 326 lines | 268 code | 36 blank | 22 comment | 0 complexity | 0d1d73328c8bfad6fad2ea1626e59515 MD5 | raw file
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> 8XmlRpcSun14HttpTransportFactory (Apache XML-RPC 3.1.2 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2009-04-20"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="XmlRpcSun14HttpTransportFactory (Apache XML-RPC 3.1.2 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcSun14HttpTransportFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 49 </TR> 50</TABLE> 51</TD> 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 53</EM> 54</TD> 55</TR> 56 57<TR> 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSun14HttpTransport.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A> 60 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSun15HttpTransport.html" title="class in org.apache.xmlrpc.client"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../index.html?org/apache/xmlrpc/client/XmlRpcSun14HttpTransportFactory.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="XmlRpcSun14HttpTransportFactory.html" target="_top"><B>NO FRAMES</B></A> 64 <SCRIPT type="text/javascript"> 65 <!-- 66 if(window==top) { 67 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 68 } 69 //--> 70</SCRIPT> 71<NOSCRIPT> 72 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 73</NOSCRIPT> 74 75 76</FONT></TD> 77</TR> 78<TR> 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 83</TR> 84</TABLE> 85<A NAME="skip-navbar_top"></A> 86<!-- ========= END OF TOP NAVBAR ========= --> 87 88<HR> 89<!-- ======== START OF CLASS DATA ======== --> 90<H2> 91<FONT SIZE="-1"> 92org.apache.xmlrpc.client</FONT> 93<BR> 94Class XmlRpcSun14HttpTransportFactory</H2> 95<PRE> 96java.lang.Object 97 <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> 98 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory</B> 99</PRE> 100<DL> 101<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> 102</DL> 103<DL> 104<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> 105</DL> 106<HR> 107<DL> 108<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> 109</PRE> 110 111<P> 112Default implementation of an HTTP transport factory in Java 1.4, based 113 on the <CODE>HttpURLConnection</CODE> class. 114<P> 115 116<P> 117<HR> 118 119<P> 120 121<!-- ======== CONSTRUCTOR SUMMARY ======== --> 122 123<A NAME="constructor_summary"><!-- --></A> 124<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 125<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 126<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 127<B>Constructor Summary</B></FONT></TH> 128</TR> 129<TR BGCOLOR="white" CLASS="TableRowColor"> 130<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> pClient)</CODE> 131 132<BR> 133 Creates a new factory, which creates transports for the given client.</TD> 134</TR> 135</TABLE> 136 137<!-- ========== METHOD SUMMARY =========== --> 138 139<A NAME="method_summary"><!-- --></A> 140<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 141<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 142<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 143<B>Method Summary</B></FONT></TH> 144</TR> 145<TR BGCOLOR="white" CLASS="TableRowColor"> 146<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 147<CODE> javax.net.ssl.SSLSocketFactory</CODE></FONT></TD> 148<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSun14HttpTransportFactory.html#getSSLSocketFactory()">getSSLSocketFactory</A></B>()</CODE> 149 150<BR> 151 Returns the SSLSocketFactory to be used by transports.</TD> 152</TR> 153<TR BGCOLOR="white" CLASS="TableRowColor"> 154<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 155<CODE> <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransport</A></CODE></FONT></TD> 156<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSun14HttpTransportFactory.html#getTransport()">getTransport</A></B>()</CODE> 157 158<BR> 159 Returns an instance of <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client"><CODE>XmlRpcTransport</CODE></A>.</TD> 160</TR> 161<TR BGCOLOR="white" CLASS="TableRowColor"> 162<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 163<CODE> void</CODE></FONT></TD> 164<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSun14HttpTransportFactory.html#setSSLSocketFactory(javax.net.ssl.SSLSocketFactory)">setSSLSocketFactory</A></B>(javax.net.ssl.SSLSocketFactory pSocketFactory)</CODE> 165 166<BR> 167 Sets the SSLSocketFactory to be used by transports.</TD> 168</TR> 169</TABLE> 170 <A NAME="methods_inherited_from_class_org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl"><!-- --></A> 171<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 172<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 173<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> 174</TR> 175<TR BGCOLOR="white" CLASS="TableRowColor"> 176<TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactoryImpl.html#getClient()">getClient</A></CODE></TD> 177</TR> 178</TABLE> 179 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 180<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 181<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 182<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> 183</TR> 184<TR BGCOLOR="white" CLASS="TableRowColor"> 185<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> 186</TR> 187</TABLE> 188 189<P> 190 191<!-- ========= CONSTRUCTOR DETAIL ======== --> 192 193<A NAME="constructor_detail"><!-- --></A> 194<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 195<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 196<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 197<B>Constructor Detail</B></FONT></TH> 198</TR> 199</TABLE> 200 201<A NAME="XmlRpcSun14HttpTransportFactory(org.apache.xmlrpc.client.XmlRpcClient)"><!-- --></A><H3> 202XmlRpcSun14HttpTransportFactory</H3> 203<PRE> 204public <B>XmlRpcSun14HttpTransportFactory</B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A> pClient)</PRE> 205<DL> 206<DD>Creates a new factory, which creates transports for the given client. 207<P> 208<DL> 209<DT><B>Parameters:</B><DD><CODE>pClient</CODE> - The client, which is operating the factory.</DL> 210</DL> 211 212<!-- ============ METHOD DETAIL ========== --> 213 214<A NAME="method_detail"><!-- --></A> 215<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 216<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 217<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 218<B>Method Detail</B></FONT></TH> 219</TR> 220</TABLE> 221 222<A NAME="setSSLSocketFactory(javax.net.ssl.SSLSocketFactory)"><!-- --></A><H3> 223setSSLSocketFactory</H3> 224<PRE> 225public void <B>setSSLSocketFactory</B>(javax.net.ssl.SSLSocketFactory pSocketFactory)</PRE> 226<DL> 227<DD>Sets the SSLSocketFactory to be used by transports. 228<P> 229<DD><DL> 230<DT><B>Parameters:</B><DD><CODE>pSocketFactory</CODE> - The SSLSocketFactory to use.</DL> 231</DD> 232</DL> 233<HR> 234 235<A NAME="getSSLSocketFactory()"><!-- --></A><H3> 236getSSLSocketFactory</H3> 237<PRE> 238public javax.net.ssl.SSLSocketFactory <B>getSSLSocketFactory</B>()</PRE> 239<DL> 240<DD>Returns the SSLSocketFactory to be used by transports. 241<P> 242<DD><DL> 243</DL> 244</DD> 245</DL> 246<HR> 247 248<A NAME="getTransport()"><!-- --></A><H3> 249getTransport</H3> 250<PRE> 251public <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransport</A> <B>getTransport</B>()</PRE> 252<DL> 253<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactory.html#getTransport()">XmlRpcTransportFactory</A></CODE></B></DD> 254<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 255 be a singleton, but the caller should not depend on that: 256 A new instance may as well be created for any request. 257<P> 258<DD><DL> 259 260<DT><B>Returns:</B><DD>The configured transport.</DL> 261</DD> 262</DL> 263<!-- ========= END OF CLASS DATA ========= --> 264<HR> 265 266 267<!-- ======= START OF BOTTOM NAVBAR ====== --> 268<A NAME="navbar_bottom"><!-- --></A> 269<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 270<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 271<TR> 272<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 273<A NAME="navbar_bottom_firstrow"><!-- --></A> 274<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 275 <TR ALIGN="center" VALIGN="top"> 276 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 277 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 278 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 279 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcSun14HttpTransportFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 280 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 281 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 282 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 283 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 284 </TR> 285</TABLE> 286</TD> 287<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 288</EM> 289</TD> 290</TR> 291 292<TR> 293<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 294 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSun14HttpTransport.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A> 295 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSun15HttpTransport.html" title="class in org.apache.xmlrpc.client"><B>NEXT CLASS</B></A></FONT></TD> 296<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 297 <A HREF="../../../../index.html?org/apache/xmlrpc/client/XmlRpcSun14HttpTransportFactory.html" target="_top"><B>FRAMES</B></A> 298 <A HREF="XmlRpcSun14HttpTransportFactory.html" target="_top"><B>NO FRAMES</B></A> 299 <SCRIPT type="text/javascript"> 300 <!-- 301 if(window==top) { 302 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 303 } 304 //--> 305</SCRIPT> 306<NOSCRIPT> 307 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 308</NOSCRIPT> 309 310 311</FONT></TD> 312</TR> 313<TR> 314<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 315 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 316<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 317DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 318</TR> 319</TABLE> 320<A NAME="skip-navbar_bottom"></A> 321<!-- ======== END OF BOTTOM NAVBAR ======= --> 322 323<HR> 324Copyright © 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. 325</BODY> 326</HTML>