/lib/docs/org/apache/xmlrpc/common/ServerStreamConnection.html
HTML | 273 lines | 220 code | 33 blank | 20 comment | 0 complexity | 346cdaa1b987d90f0b60501648a07d2b 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:56 CEST 2009 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8ServerStreamConnection (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="ServerStreamConnection (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/ServerStreamConnection.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/common/LocalStreamConnection.html" title="class in org.apache.xmlrpc.common"><B>PREV CLASS</B></A> 60 <A HREF="../../../../org/apache/xmlrpc/common/TypeConverter.html" title="interface in org.apache.xmlrpc.common"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../index.html?org/apache/xmlrpc/common/ServerStreamConnection.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="ServerStreamConnection.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: FIELD | CONSTR | <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.common</FONT> 93<BR> 94Interface ServerStreamConnection</H2> 95<DL> 96<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/server/ServerHttpConnection.html" title="interface in org.apache.xmlrpc.server">ServerHttpConnection</A></DD> 97</DL> 98<DL> 99<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/xmlrpc/webserver/Connection.html" title="class in org.apache.xmlrpc.webserver">Connection</A>, <A HREF="../../../../org/apache/xmlrpc/webserver/XmlRpcServletServer.ServletStreamConnection.html" title="class in org.apache.xmlrpc.webserver">XmlRpcServletServer.ServletStreamConnection</A></DD> 100</DL> 101<HR> 102<DL> 103<DT><PRE>public interface <B>ServerStreamConnection</B></DL> 104</PRE> 105 106<P> 107Interface of an object, which is able to provide 108 an XML stream, containing an XML-RPC request. 109 Additionally, the object may also be used to 110 write the response as an XML stream. 111<P> 112 113<P> 114<HR> 115 116<P> 117 118<!-- ========== METHOD SUMMARY =========== --> 119 120<A NAME="method_summary"><!-- --></A> 121<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 122<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 123<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 124<B>Method Summary</B></FONT></TH> 125</TR> 126<TR BGCOLOR="white" CLASS="TableRowColor"> 127<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 128<CODE> void</CODE></FONT></TD> 129<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/common/ServerStreamConnection.html#close()">close</A></B>()</CODE> 130 131<BR> 132 Closes the connection, and frees resources.</TD> 133</TR> 134<TR BGCOLOR="white" CLASS="TableRowColor"> 135<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 136<CODE> java.io.InputStream</CODE></FONT></TD> 137<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/common/ServerStreamConnection.html#newInputStream()">newInputStream</A></B>()</CODE> 138 139<BR> 140 Returns the connections input stream.</TD> 141</TR> 142<TR BGCOLOR="white" CLASS="TableRowColor"> 143<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 144<CODE> java.io.OutputStream</CODE></FONT></TD> 145<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/common/ServerStreamConnection.html#newOutputStream()">newOutputStream</A></B>()</CODE> 146 147<BR> 148 Returns the connections output stream.</TD> 149</TR> 150</TABLE> 151 152<P> 153 154<!-- ============ METHOD DETAIL ========== --> 155 156<A NAME="method_detail"><!-- --></A> 157<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 158<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 159<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 160<B>Method Detail</B></FONT></TH> 161</TR> 162</TABLE> 163 164<A NAME="newInputStream()"><!-- --></A><H3> 165newInputStream</H3> 166<PRE> 167java.io.InputStream <B>newInputStream</B>() 168 throws java.io.IOException</PRE> 169<DL> 170<DD>Returns the connections input stream. 171<P> 172<DD><DL> 173 174<DT><B>Throws:</B> 175<DD><CODE>java.io.IOException</CODE></DL> 176</DD> 177</DL> 178<HR> 179 180<A NAME="newOutputStream()"><!-- --></A><H3> 181newOutputStream</H3> 182<PRE> 183java.io.OutputStream <B>newOutputStream</B>() 184 throws java.io.IOException</PRE> 185<DL> 186<DD>Returns the connections output stream. 187<P> 188<DD><DL> 189 190<DT><B>Throws:</B> 191<DD><CODE>java.io.IOException</CODE></DL> 192</DD> 193</DL> 194<HR> 195 196<A NAME="close()"><!-- --></A><H3> 197close</H3> 198<PRE> 199void <B>close</B>() 200 throws java.io.IOException</PRE> 201<DL> 202<DD>Closes the connection, and frees resources. 203<P> 204<DD><DL> 205 206<DT><B>Throws:</B> 207<DD><CODE>java.io.IOException</CODE></DL> 208</DD> 209</DL> 210<!-- ========= END OF CLASS DATA ========= --> 211<HR> 212 213 214<!-- ======= START OF BOTTOM NAVBAR ====== --> 215<A NAME="navbar_bottom"><!-- --></A> 216<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 217<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 218<TR> 219<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 220<A NAME="navbar_bottom_firstrow"><!-- --></A> 221<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 222 <TR ALIGN="center" VALIGN="top"> 223 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 224 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 225 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 226 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServerStreamConnection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 227 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 228 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 229 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 230 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 231 </TR> 232</TABLE> 233</TD> 234<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 235</EM> 236</TD> 237</TR> 238 239<TR> 240<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 241 <A HREF="../../../../org/apache/xmlrpc/common/LocalStreamConnection.html" title="class in org.apache.xmlrpc.common"><B>PREV CLASS</B></A> 242 <A HREF="../../../../org/apache/xmlrpc/common/TypeConverter.html" title="interface in org.apache.xmlrpc.common"><B>NEXT CLASS</B></A></FONT></TD> 243<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 244 <A HREF="../../../../index.html?org/apache/xmlrpc/common/ServerStreamConnection.html" target="_top"><B>FRAMES</B></A> 245 <A HREF="ServerStreamConnection.html" target="_top"><B>NO FRAMES</B></A> 246 <SCRIPT type="text/javascript"> 247 <!-- 248 if(window==top) { 249 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 250 } 251 //--> 252</SCRIPT> 253<NOSCRIPT> 254 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 255</NOSCRIPT> 256 257 258</FONT></TD> 259</TR> 260<TR> 261<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 262 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 263<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 264DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 265</TR> 266</TABLE> 267<A NAME="skip-navbar_bottom"></A> 268<!-- ======== END OF BOTTOM NAVBAR ======= --> 269 270<HR> 271Copyright © 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. 272</BODY> 273</HTML>