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