/lib/docs/org/apache/xmlrpc/client/XmlRpcLocalStreamTransportFactory.html
HTML | 287 lines | 233 code | 32 blank | 22 comment | 0 complexity | 97bbdbbec4cca2971cd48c2d6d1ee902 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:58 CEST 2009 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8XmlRpcLocalStreamTransportFactory (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="XmlRpcLocalStreamTransportFactory (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/XmlRpcLocalStreamTransportFactory.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/XmlRpcLocalStreamTransport.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A> 60 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalTransport.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/XmlRpcLocalStreamTransportFactory.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="XmlRpcLocalStreamTransportFactory.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 XmlRpcLocalStreamTransportFactory</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 "><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransportFactory.html" title="class in org.apache.xmlrpc.client">org.apache.xmlrpc.client.XmlRpcStreamTransportFactory</A> 99 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.client.XmlRpcLocalStreamTransportFactory</B> 100</PRE> 101<DL> 102<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> 103</DL> 104<HR> 105<DL> 106<DT><PRE>public class <B>XmlRpcLocalStreamTransportFactory</B><DT>extends <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransportFactory.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransportFactory</A></DL> 107</PRE> 108 109<P> 110Another local transport factory for debugging and testing. This one is 111 similar to the <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalTransportFactory.html" title="class in org.apache.xmlrpc.client"><CODE>XmlRpcLocalTransportFactory</CODE></A>, 112 except that it adds request serialization. In other words, it is 113 particularly well suited for development and testing of XML serialization 114 and parsing. 115<P> 116 117<P> 118<HR> 119 120<P> 121 122<!-- ======== CONSTRUCTOR SUMMARY ======== --> 123 124<A NAME="constructor_summary"><!-- --></A> 125<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 126<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 127<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 128<B>Constructor Summary</B></FONT></TH> 129</TR> 130<TR BGCOLOR="white" CLASS="TableRowColor"> 131<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalStreamTransportFactory.html#XmlRpcLocalStreamTransportFactory(org.apache.xmlrpc.client.XmlRpcClient, org.apache.xmlrpc.common.XmlRpcStreamRequestProcessor)">XmlRpcLocalStreamTransportFactory</A></B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A> pClient, 132 <A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestProcessor.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamRequestProcessor</A> pServer)</CODE> 133 134<BR> 135 Creates a new instance.</TD> 136</TR> 137</TABLE> 138 139<!-- ========== METHOD SUMMARY =========== --> 140 141<A NAME="method_summary"><!-- --></A> 142<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 143<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 144<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 145<B>Method Summary</B></FONT></TH> 146</TR> 147<TR BGCOLOR="white" CLASS="TableRowColor"> 148<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 149<CODE> <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransport</A></CODE></FONT></TD> 150<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalStreamTransportFactory.html#getTransport()">getTransport</A></B>()</CODE> 151 152<BR> 153 Returns an instance of <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client"><CODE>XmlRpcTransport</CODE></A>.</TD> 154</TR> 155</TABLE> 156 <A NAME="methods_inherited_from_class_org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl"><!-- --></A> 157<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 158<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 159<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> 160</TR> 161<TR BGCOLOR="white" CLASS="TableRowColor"> 162<TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactoryImpl.html#getClient()">getClient</A></CODE></TD> 163</TR> 164</TABLE> 165 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 166<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 167<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 168<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> 169</TR> 170<TR BGCOLOR="white" CLASS="TableRowColor"> 171<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> 172</TR> 173</TABLE> 174 175<P> 176 177<!-- ========= CONSTRUCTOR DETAIL ======== --> 178 179<A NAME="constructor_detail"><!-- --></A> 180<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 181<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 182<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 183<B>Constructor Detail</B></FONT></TH> 184</TR> 185</TABLE> 186 187<A NAME="XmlRpcLocalStreamTransportFactory(org.apache.xmlrpc.client.XmlRpcClient, org.apache.xmlrpc.common.XmlRpcStreamRequestProcessor)"><!-- --></A><H3> 188XmlRpcLocalStreamTransportFactory</H3> 189<PRE> 190public <B>XmlRpcLocalStreamTransportFactory</B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A> pClient, 191 <A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestProcessor.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamRequestProcessor</A> pServer)</PRE> 192<DL> 193<DD>Creates a new instance. 194<P> 195<DL> 196<DT><B>Parameters:</B><DD><CODE>pClient</CODE> - The client controlling the factory.<DD><CODE>pServer</CODE> - An instance of <A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestProcessor.html" title="interface in org.apache.xmlrpc.common"><CODE>XmlRpcStreamRequestProcessor</CODE></A>.</DL> 197</DL> 198 199<!-- ============ METHOD DETAIL ========== --> 200 201<A NAME="method_detail"><!-- --></A> 202<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 203<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 204<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 205<B>Method Detail</B></FONT></TH> 206</TR> 207</TABLE> 208 209<A NAME="getTransport()"><!-- --></A><H3> 210getTransport</H3> 211<PRE> 212public <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransport.html" title="interface in org.apache.xmlrpc.client">XmlRpcTransport</A> <B>getTransport</B>()</PRE> 213<DL> 214<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportFactory.html#getTransport()">XmlRpcTransportFactory</A></CODE></B></DD> 215<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 216 be a singleton, but the caller should not depend on that: 217 A new instance may as well be created for any request. 218<P> 219<DD><DL> 220 221<DT><B>Returns:</B><DD>The configured transport.</DL> 222</DD> 223</DL> 224<!-- ========= END OF CLASS DATA ========= --> 225<HR> 226 227 228<!-- ======= START OF BOTTOM NAVBAR ====== --> 229<A NAME="navbar_bottom"><!-- --></A> 230<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 231<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 232<TR> 233<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 234<A NAME="navbar_bottom_firstrow"><!-- --></A> 235<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 236 <TR ALIGN="center" VALIGN="top"> 237 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 238 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 239 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 240 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcLocalStreamTransportFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 241 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 242 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 243 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 244 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 245 </TR> 246</TABLE> 247</TD> 248<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 249</EM> 250</TD> 251</TR> 252 253<TR> 254<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 255 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalStreamTransport.html" title="class in org.apache.xmlrpc.client"><B>PREV CLASS</B></A> 256 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLocalTransport.html" title="class in org.apache.xmlrpc.client"><B>NEXT CLASS</B></A></FONT></TD> 257<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 258 <A HREF="../../../../index.html?org/apache/xmlrpc/client/XmlRpcLocalStreamTransportFactory.html" target="_top"><B>FRAMES</B></A> 259 <A HREF="XmlRpcLocalStreamTransportFactory.html" target="_top"><B>NO FRAMES</B></A> 260 <SCRIPT type="text/javascript"> 261 <!-- 262 if(window==top) { 263 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 264 } 265 //--> 266</SCRIPT> 267<NOSCRIPT> 268 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 269</NOSCRIPT> 270 271 272</FONT></TD> 273</TR> 274<TR> 275<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 276 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 277<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 278DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 279</TR> 280</TABLE> 281<A NAME="skip-navbar_bottom"></A> 282<!-- ======== END OF BOTTOM NAVBAR ======= --> 283 284<HR> 285Copyright © 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. 286</BODY> 287</HTML>