/lib/docs/org/apache/xmlrpc/client/XmlRpcHttpTransport.html
HTML | 540 lines | 459 code | 56 blank | 25 comment | 0 complexity | f49b1fda04354b889a53245cf7337cb9 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> 8XmlRpcHttpTransport (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="XmlRpcHttpTransport (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/XmlRpcHttpTransport.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/XmlRpcHttpClientConfig.html" title="interface in org.apache.xmlrpc.client"><B>PREV CLASS</B></A> 60 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.ByteArrayReqWriter.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/XmlRpcHttpTransport.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="XmlRpcHttpTransport.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: <A HREF="#field_detail">FIELD</A> | <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 XmlRpcHttpTransport</H2> 95<PRE> 96java.lang.Object 97 <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> 98 <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> 99 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.client.XmlRpcHttpTransport</B> 100</PRE> 101<DL> 102<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> 103</DL> 104<DL> 105<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcCommonsTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcCommonsTransport</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcLiteHttpTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcLiteHttpTransport</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcSunHttpTransport</A></DD> 106</DL> 107<HR> 108<DL> 109<DT><PRE>public abstract class <B>XmlRpcHttpTransport</B><DT>extends <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport</A></DL> 110</PRE> 111 112<P> 113Abstract base implementation of an HTTP transport. Base class for the 114 concrete implementations, like <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcSunHttpTransport.html" title="class in org.apache.xmlrpc.client"><CODE>XmlRpcSunHttpTransport</CODE></A>, 115 or <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcCommonsTransport.html" title="class in org.apache.xmlrpc.client"><CODE>XmlRpcCommonsTransport</CODE></A>. 116<P> 117 118<P> 119<HR> 120 121<P> 122<!-- ======== NESTED CLASS SUMMARY ======== --> 123 124<A NAME="nested_class_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>Nested Class Summary</B></FONT></TH> 129</TR> 130<TR BGCOLOR="white" CLASS="TableRowColor"> 131<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 132<CODE>protected class</CODE></FONT></TD> 133<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.ByteArrayReqWriter.html" title="class in org.apache.xmlrpc.client">XmlRpcHttpTransport.ByteArrayReqWriter</A></B></CODE> 134 135<BR> 136 </TD> 137</TR> 138</TABLE> 139 <A NAME="nested_classes_inherited_from_class_org.apache.xmlrpc.client.XmlRpcStreamTransport"><!-- --></A> 140<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 141<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 142<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> 143</TR> 144<TR BGCOLOR="white" CLASS="TableRowColor"> 145<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> 146</TR> 147</TABLE> 148 149<!-- =========== FIELD SUMMARY =========== --> 150 151<A NAME="field_summary"><!-- --></A> 152<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 153<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 154<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 155<B>Field Summary</B></FONT></TH> 156</TR> 157<TR BGCOLOR="white" CLASS="TableRowColor"> 158<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 159<CODE>static java.lang.String</CODE></FONT></TD> 160<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#USER_AGENT">USER_AGENT</A></B></CODE> 161 162<BR> 163 The user agent string.</TD> 164</TR> 165</TABLE> 166 167<!-- ======== CONSTRUCTOR SUMMARY ======== --> 168 169<A NAME="constructor_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>Constructor 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 </CODE></FONT></TD> 178<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#XmlRpcHttpTransport(org.apache.xmlrpc.client.XmlRpcClient, java.lang.String)">XmlRpcHttpTransport</A></B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A> pClient, 179 java.lang.String pUserAgent)</CODE> 180 181<BR> 182 </TD> 183</TR> 184</TABLE> 185 186<!-- ========== METHOD SUMMARY =========== --> 187 188<A NAME="method_summary"><!-- --></A> 189<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 190<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 191<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 192<B>Method Summary</B></FONT></TH> 193</TR> 194<TR BGCOLOR="white" CLASS="TableRowColor"> 195<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 196<CODE>protected java.lang.String</CODE></FONT></TD> 197<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#getUserAgent()">getUserAgent</A></B>()</CODE> 198 199<BR> 200 </TD> 201</TR> 202<TR BGCOLOR="white" CLASS="TableRowColor"> 203<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 204<CODE>protected void</CODE></FONT></TD> 205<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#initHttpHeaders(org.apache.xmlrpc.XmlRpcRequest)">initHttpHeaders</A></B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A> pRequest)</CODE> 206 207<BR> 208 </TD> 209</TR> 210<TR BGCOLOR="white" CLASS="TableRowColor"> 211<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 212<CODE>protected boolean</CODE></FONT></TD> 213<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#isUsingByteArrayOutput(org.apache.xmlrpc.client.XmlRpcHttpClientConfig)">isUsingByteArrayOutput</A></B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpClientConfig.html" title="interface in org.apache.xmlrpc.client">XmlRpcHttpClientConfig</A> pConfig)</CODE> 214 215<BR> 216 </TD> 217</TR> 218<TR BGCOLOR="white" CLASS="TableRowColor"> 219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 220<CODE>protected <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client">XmlRpcStreamTransport.ReqWriter</A></CODE></FONT></TD> 221<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#newReqWriter(org.apache.xmlrpc.XmlRpcRequest)">newReqWriter</A></B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A> pRequest)</CODE> 222 223<BR> 224 Creates a new instance of <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client"><CODE>XmlRpcStreamTransport.ReqWriter</CODE></A>.</TD> 225</TR> 226<TR BGCOLOR="white" CLASS="TableRowColor"> 227<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 228<CODE> java.lang.Object</CODE></FONT></TD> 229<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#sendRequest(org.apache.xmlrpc.XmlRpcRequest)">sendRequest</A></B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A> pRequest)</CODE> 230 231<BR> 232 Send an XML-RPC message.</TD> 233</TR> 234<TR BGCOLOR="white" CLASS="TableRowColor"> 235<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 236<CODE>protected void</CODE></FONT></TD> 237<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#setCompressionHeaders(org.apache.xmlrpc.client.XmlRpcHttpClientConfig)">setCompressionHeaders</A></B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpClientConfig.html" title="interface in org.apache.xmlrpc.client">XmlRpcHttpClientConfig</A> pConfig)</CODE> 238 239<BR> 240 </TD> 241</TR> 242<TR BGCOLOR="white" CLASS="TableRowColor"> 243<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 244<CODE>protected void</CODE></FONT></TD> 245<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#setContentLength(int)">setContentLength</A></B>(int pLength)</CODE> 246 247<BR> 248 </TD> 249</TR> 250<TR BGCOLOR="white" CLASS="TableRowColor"> 251<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 252<CODE>protected void</CODE></FONT></TD> 253<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#setCredentials(org.apache.xmlrpc.client.XmlRpcHttpClientConfig)">setCredentials</A></B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpClientConfig.html" title="interface in org.apache.xmlrpc.client">XmlRpcHttpClientConfig</A> pConfig)</CODE> 254 255<BR> 256 </TD> 257</TR> 258<TR BGCOLOR="white" CLASS="TableRowColor"> 259<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 260<CODE>protected abstract void</CODE></FONT></TD> 261<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.html#setRequestHeader(java.lang.String, java.lang.String)">setRequestHeader</A></B>(java.lang.String pHeader, 262 java.lang.String pValue)</CODE> 263 264<BR> 265 </TD> 266</TR> 267</TABLE> 268 <A NAME="methods_inherited_from_class_org.apache.xmlrpc.client.XmlRpcStreamTransport"><!-- --></A> 269<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 270<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 271<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> 272</TR> 273<TR BGCOLOR="white" CLASS="TableRowColor"> 274<TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#close()">close</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#getInputStream()">getInputStream</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#isCompressingRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig)">isCompressingRequest</A>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig)">isResponseGzipCompressed</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>, <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#writeRequest(org.apache.xmlrpc.client.XmlRpcStreamTransport.ReqWriter)">writeRequest</A></CODE></TD> 275</TR> 276</TABLE> 277 <A NAME="methods_inherited_from_class_org.apache.xmlrpc.client.XmlRpcTransportImpl"><!-- --></A> 278<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 279<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 280<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> 281</TR> 282<TR BGCOLOR="white" CLASS="TableRowColor"> 283<TD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcTransportImpl.html#getClient()">getClient</A></CODE></TD> 284</TR> 285</TABLE> 286 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 287<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 288<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 289<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> 290</TR> 291<TR BGCOLOR="white" CLASS="TableRowColor"> 292<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> 293</TR> 294</TABLE> 295 296<P> 297 298<!-- ============ FIELD DETAIL =========== --> 299 300<A NAME="field_detail"><!-- --></A> 301<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 302<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 303<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 304<B>Field Detail</B></FONT></TH> 305</TR> 306</TABLE> 307 308<A NAME="USER_AGENT"><!-- --></A><H3> 309USER_AGENT</H3> 310<PRE> 311public static final java.lang.String <B>USER_AGENT</B></PRE> 312<DL> 313<DD>The user agent string. 314<P> 315<DL> 316<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xmlrpc.client.XmlRpcHttpTransport.USER_AGENT">Constant Field Values</A></DL> 317</DL> 318 319<!-- ========= CONSTRUCTOR DETAIL ======== --> 320 321<A NAME="constructor_detail"><!-- --></A> 322<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 323<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 324<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 325<B>Constructor Detail</B></FONT></TH> 326</TR> 327</TABLE> 328 329<A NAME="XmlRpcHttpTransport(org.apache.xmlrpc.client.XmlRpcClient, java.lang.String)"><!-- --></A><H3> 330XmlRpcHttpTransport</H3> 331<PRE> 332protected <B>XmlRpcHttpTransport</B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client">XmlRpcClient</A> pClient, 333 java.lang.String pUserAgent)</PRE> 334<DL> 335</DL> 336 337<!-- ============ METHOD DETAIL ========== --> 338 339<A NAME="method_detail"><!-- --></A> 340<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 341<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 342<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 343<B>Method Detail</B></FONT></TH> 344</TR> 345</TABLE> 346 347<A NAME="getUserAgent()"><!-- --></A><H3> 348getUserAgent</H3> 349<PRE> 350protected java.lang.String <B>getUserAgent</B>()</PRE> 351<DL> 352<DD><DL> 353</DL> 354</DD> 355</DL> 356<HR> 357 358<A NAME="setRequestHeader(java.lang.String, java.lang.String)"><!-- --></A><H3> 359setRequestHeader</H3> 360<PRE> 361protected abstract void <B>setRequestHeader</B>(java.lang.String pHeader, 362 java.lang.String pValue)</PRE> 363<DL> 364<DD><DL> 365</DL> 366</DD> 367</DL> 368<HR> 369 370<A NAME="setCredentials(org.apache.xmlrpc.client.XmlRpcHttpClientConfig)"><!-- --></A><H3> 371setCredentials</H3> 372<PRE> 373protected void <B>setCredentials</B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpClientConfig.html" title="interface in org.apache.xmlrpc.client">XmlRpcHttpClientConfig</A> pConfig) 374 throws <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClientException.html" title="class in org.apache.xmlrpc.client">XmlRpcClientException</A></PRE> 375<DL> 376<DD><DL> 377 378<DT><B>Throws:</B> 379<DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClientException.html" title="class in org.apache.xmlrpc.client">XmlRpcClientException</A></CODE></DL> 380</DD> 381</DL> 382<HR> 383 384<A NAME="setContentLength(int)"><!-- --></A><H3> 385setContentLength</H3> 386<PRE> 387protected void <B>setContentLength</B>(int pLength)</PRE> 388<DL> 389<DD><DL> 390</DL> 391</DD> 392</DL> 393<HR> 394 395<A NAME="setCompressionHeaders(org.apache.xmlrpc.client.XmlRpcHttpClientConfig)"><!-- --></A><H3> 396setCompressionHeaders</H3> 397<PRE> 398protected void <B>setCompressionHeaders</B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpClientConfig.html" title="interface in org.apache.xmlrpc.client">XmlRpcHttpClientConfig</A> pConfig)</PRE> 399<DL> 400<DD><DL> 401</DL> 402</DD> 403</DL> 404<HR> 405 406<A NAME="initHttpHeaders(org.apache.xmlrpc.XmlRpcRequest)"><!-- --></A><H3> 407initHttpHeaders</H3> 408<PRE> 409protected void <B>initHttpHeaders</B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A> pRequest) 410 throws <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClientException.html" title="class in org.apache.xmlrpc.client">XmlRpcClientException</A></PRE> 411<DL> 412<DD><DL> 413 414<DT><B>Throws:</B> 415<DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClientException.html" title="class in org.apache.xmlrpc.client">XmlRpcClientException</A></CODE></DL> 416</DD> 417</DL> 418<HR> 419 420<A NAME="sendRequest(org.apache.xmlrpc.XmlRpcRequest)"><!-- --></A><H3> 421sendRequest</H3> 422<PRE> 423public java.lang.Object <B>sendRequest</B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A> pRequest) 424 throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE> 425<DL> 426<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> 427<DD>Send an XML-RPC message. This method is called to send a message to the 428 other party. 429<P> 430<DD><DL> 431<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/XmlRpcStreamTransport.html#sendRequest(org.apache.xmlrpc.XmlRpcRequest)">sendRequest</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport</A></CODE></DL> 432</DD> 433<DD><DL> 434<DT><B>Parameters:</B><DD><CODE>pRequest</CODE> - The request being performed. 435<DT><B>Returns:</B><DD>Result object, if invoking the remote method was successfull. 436<DT><B>Throws:</B> 437<DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE> - Performing the request failed.</DL> 438</DD> 439</DL> 440<HR> 441 442<A NAME="isUsingByteArrayOutput(org.apache.xmlrpc.client.XmlRpcHttpClientConfig)"><!-- --></A><H3> 443isUsingByteArrayOutput</H3> 444<PRE> 445protected boolean <B>isUsingByteArrayOutput</B>(<A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpClientConfig.html" title="interface in org.apache.xmlrpc.client">XmlRpcHttpClientConfig</A> pConfig)</PRE> 446<DL> 447<DD><DL> 448</DL> 449</DD> 450</DL> 451<HR> 452 453<A NAME="newReqWriter(org.apache.xmlrpc.XmlRpcRequest)"><!-- --></A><H3> 454newReqWriter</H3> 455<PRE> 456protected <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client">XmlRpcStreamTransport.ReqWriter</A> <B>newReqWriter</B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A> pRequest) 457 throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A>, 458 java.io.IOException, 459 org.xml.sax.SAXException</PRE> 460<DL> 461<DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#newReqWriter(org.apache.xmlrpc.XmlRpcRequest)">XmlRpcStreamTransport</A></CODE></B></DD> 462<DD>Creates a new instance of <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.ReqWriter.html" title="interface in org.apache.xmlrpc.client"><CODE>XmlRpcStreamTransport.ReqWriter</CODE></A>. 463<P> 464<DD><DL> 465<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html#newReqWriter(org.apache.xmlrpc.XmlRpcRequest)">newReqWriter</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/client/XmlRpcStreamTransport.html" title="class in org.apache.xmlrpc.client">XmlRpcStreamTransport</A></CODE></DL> 466</DD> 467<DD><DL> 468 469<DT><B>Throws:</B> 470<DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE> - Creating the instance failed. 471<DD><CODE>java.io.IOException</CODE> - Creating the instance failed, because 472 an <CODE>IOException</CODE> occurs. 473<DD><CODE>org.xml.sax.SAXException</CODE> - Creating the instance failed, because 474 the request could not be parsed.</DL> 475</DD> 476</DL> 477<!-- ========= END OF CLASS DATA ========= --> 478<HR> 479 480 481<!-- ======= START OF BOTTOM NAVBAR ====== --> 482<A NAME="navbar_bottom"><!-- --></A> 483<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 484<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 485<TR> 486<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 487<A NAME="navbar_bottom_firstrow"><!-- --></A> 488<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 489 <TR ALIGN="center" VALIGN="top"> 490 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 491 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 492 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 493 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcHttpTransport.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 494 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 495 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 496 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 497 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 498 </TR> 499</TABLE> 500</TD> 501<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 502</EM> 503</TD> 504</TR> 505 506<TR> 507<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 508 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpClientConfig.html" title="interface in org.apache.xmlrpc.client"><B>PREV CLASS</B></A> 509 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcHttpTransport.ByteArrayReqWriter.html" title="class in org.apache.xmlrpc.client"><B>NEXT CLASS</B></A></FONT></TD> 510<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 511 <A HREF="../../../../index.html?org/apache/xmlrpc/client/XmlRpcHttpTransport.html" target="_top"><B>FRAMES</B></A> 512 <A HREF="XmlRpcHttpTransport.html" target="_top"><B>NO FRAMES</B></A> 513 <SCRIPT type="text/javascript"> 514 <!-- 515 if(window==top) { 516 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 517 } 518 //--> 519</SCRIPT> 520<NOSCRIPT> 521 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 522</NOSCRIPT> 523 524 525</FONT></TD> 526</TR> 527<TR> 528<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 529 SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 530<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 531DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 532</TR> 533</TABLE> 534<A NAME="skip-navbar_bottom"></A> 535<!-- ======== END OF BOTTOM NAVBAR ======= --> 536 537<HR> 538Copyright © 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. 539</BODY> 540</HTML>