/lib/docs/org/apache/xmlrpc/webserver/ServletConnection.html
HTML | 308 lines | 251 code | 35 blank | 22 comment | 0 complexity | 439895411aa9425a186e135985ff32be 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> 8ServletConnection (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="ServletConnection (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/ServletConnection.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/webserver/RequestData.html" title="class in org.apache.xmlrpc.webserver"><B>PREV CLASS</B></A> 60 <A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.html" title="class in org.apache.xmlrpc.webserver"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../index.html?org/apache/xmlrpc/webserver/ServletConnection.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="ServletConnection.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.webserver</FONT> 93<BR> 94Class ServletConnection</H2> 95<PRE> 96java.lang.Object 97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.webserver.ServletConnection</B> 98</PRE> 99<DL> 100<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.InterruptableTask.html" title="interface in org.apache.xmlrpc.util">ThreadPool.InterruptableTask</A>, <A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html" title="interface in org.apache.xmlrpc.util">ThreadPool.Task</A></DD> 101</DL> 102<HR> 103<DL> 104<DT><PRE>public class <B>ServletConnection</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.InterruptableTask.html" title="interface in org.apache.xmlrpc.util">ThreadPool.InterruptableTask</A></DL> 105</PRE> 106 107<P> 108<A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.html" title="class in org.apache.xmlrpc.webserver"><CODE>ServletWebServer's</CODE></A> 109 <A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html" title="interface in org.apache.xmlrpc.util"><CODE>ThreadPool.Task</CODE></A> for handling a single 110 servlet connection. 111<P> 112 113<P> 114<HR> 115 116<P> 117 118<!-- ======== CONSTRUCTOR SUMMARY ======== --> 119 120<A NAME="constructor_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>Constructor Summary</B></FONT></TH> 125</TR> 126<TR BGCOLOR="white" CLASS="TableRowColor"> 127<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/ServletConnection.html#ServletConnection(javax.servlet.http.HttpServlet, java.net.Socket)">ServletConnection</A></B>(javax.servlet.http.HttpServlet pServlet, 128 java.net.Socket pSocket)</CODE> 129 130<BR> 131 Creates a new instance.</TD> 132</TR> 133</TABLE> 134 135<!-- ========== METHOD SUMMARY =========== --> 136 137<A NAME="method_summary"><!-- --></A> 138<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 139<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 140<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 141<B>Method Summary</B></FONT></TH> 142</TR> 143<TR BGCOLOR="white" CLASS="TableRowColor"> 144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 145<CODE> void</CODE></FONT></TD> 146<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/ServletConnection.html#run()">run</A></B>()</CODE> 147 148<BR> 149 Performs the task.</TD> 150</TR> 151<TR BGCOLOR="white" CLASS="TableRowColor"> 152<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 153<CODE> void</CODE></FONT></TD> 154<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/ServletConnection.html#shutdown()">shutdown</A></B>()</CODE> 155 156<BR> 157 Interrupts the task.</TD> 158</TR> 159</TABLE> 160 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 161<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 162<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 163<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> 164</TR> 165<TR BGCOLOR="white" CLASS="TableRowColor"> 166<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> 167</TR> 168</TABLE> 169 170<P> 171 172<!-- ========= CONSTRUCTOR DETAIL ======== --> 173 174<A NAME="constructor_detail"><!-- --></A> 175<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 176<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 177<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 178<B>Constructor Detail</B></FONT></TH> 179</TR> 180</TABLE> 181 182<A NAME="ServletConnection(javax.servlet.http.HttpServlet, java.net.Socket)"><!-- --></A><H3> 183ServletConnection</H3> 184<PRE> 185public <B>ServletConnection</B>(javax.servlet.http.HttpServlet pServlet, 186 java.net.Socket pSocket) 187 throws java.io.IOException</PRE> 188<DL> 189<DD>Creates a new instance. 190<P> 191<DL> 192<DT><B>Parameters:</B><DD><CODE>pServlet</CODE> - The servlet, which ought to handle the request.<DD><CODE>pSocket</CODE> - The socket, to which the client is connected. 193<DT><B>Throws:</B> 194<DD><CODE>java.io.IOException</CODE></DL> 195</DL> 196 197<!-- ============ METHOD DETAIL ========== --> 198 199<A NAME="method_detail"><!-- --></A> 200<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 201<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 202<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 203<B>Method Detail</B></FONT></TH> 204</TR> 205</TABLE> 206 207<A NAME="run()"><!-- --></A><H3> 208run</H3> 209<PRE> 210public void <B>run</B>() 211 throws java.lang.Throwable</PRE> 212<DL> 213<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html#run()">ThreadPool.Task</A></CODE></B></DD> 214<DD>Performs the task. 215<P> 216<DD><DL> 217<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html#run()">run</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html" title="interface in org.apache.xmlrpc.util">ThreadPool.Task</A></CODE></DL> 218</DD> 219<DD><DL> 220 221<DT><B>Throws:</B> 222<DD><CODE>java.lang.Throwable</CODE> - The task failed, and the worker thread won't be used again.</DL> 223</DD> 224</DL> 225<HR> 226 227<A NAME="shutdown()"><!-- --></A><H3> 228shutdown</H3> 229<PRE> 230public void <B>shutdown</B>() 231 throws java.lang.Throwable</PRE> 232<DL> 233<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.InterruptableTask.html#shutdown()">ThreadPool.InterruptableTask</A></CODE></B></DD> 234<DD>Interrupts the task. 235<P> 236<DD><DL> 237<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.InterruptableTask.html#shutdown()">shutdown</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.InterruptableTask.html" title="interface in org.apache.xmlrpc.util">ThreadPool.InterruptableTask</A></CODE></DL> 238</DD> 239<DD><DL> 240 241<DT><B>Throws:</B> 242<DD><CODE>java.lang.Throwable</CODE> - Shutting down the task failed.</DL> 243</DD> 244</DL> 245<!-- ========= END OF CLASS DATA ========= --> 246<HR> 247 248 249<!-- ======= START OF BOTTOM NAVBAR ====== --> 250<A NAME="navbar_bottom"><!-- --></A> 251<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 252<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 253<TR> 254<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 255<A NAME="navbar_bottom_firstrow"><!-- --></A> 256<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 257 <TR ALIGN="center" VALIGN="top"> 258 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 259 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 260 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 261 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServletConnection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 262 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 263 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 264 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 265 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 266 </TR> 267</TABLE> 268</TD> 269<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 270</EM> 271</TD> 272</TR> 273 274<TR> 275<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 276 <A HREF="../../../../org/apache/xmlrpc/webserver/RequestData.html" title="class in org.apache.xmlrpc.webserver"><B>PREV CLASS</B></A> 277 <A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.html" title="class in org.apache.xmlrpc.webserver"><B>NEXT CLASS</B></A></FONT></TD> 278<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 279 <A HREF="../../../../index.html?org/apache/xmlrpc/webserver/ServletConnection.html" target="_top"><B>FRAMES</B></A> 280 <A HREF="ServletConnection.html" target="_top"><B>NO FRAMES</B></A> 281 <SCRIPT type="text/javascript"> 282 <!-- 283 if(window==top) { 284 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 285 } 286 //--> 287</SCRIPT> 288<NOSCRIPT> 289 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 290</NOSCRIPT> 291 292 293</FONT></TD> 294</TR> 295<TR> 296<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 297 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 298<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 299DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 300</TR> 301</TABLE> 302<A NAME="skip-navbar_bottom"></A> 303<!-- ======== END OF BOTTOM NAVBAR ======= --> 304 305<HR> 306Copyright © 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. 307</BODY> 308</HTML>