PageRenderTime 60ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/docs/org/apache/xmlrpc/webserver/ServletConnection.html

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 308 lines | 251 code | 35 blank | 22 comment | 0 complexity | 439895411aa9425a186e135985ff32be MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  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>
  8. ServletConnection (Apache XML-RPC 3.1.2 API)
  9. </TITLE>
  10. <META NAME="date" CONTENT="2009-04-20">
  11. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  12. <SCRIPT type="text/javascript">
  13. function windowTitle()
  14. {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="ServletConnection (Apache XML-RPC 3.1.2 API)";
  17. }
  18. }
  19. </SCRIPT>
  20. <NOSCRIPT>
  21. </NOSCRIPT>
  22. </HEAD>
  23. <BODY BGCOLOR="white" onload="windowTitle();">
  24. <HR>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <A NAME="navbar_top"><!-- --></A>
  27. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  28. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  29. <TR>
  30. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  31. <A NAME="navbar_top_firstrow"><!-- --></A>
  32. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  33. <TR ALIGN="center" VALIGN="top">
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServletConnection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  41. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  42. </TR>
  43. </TABLE>
  44. </TD>
  45. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  46. </EM>
  47. </TD>
  48. </TR>
  49. <TR>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. &nbsp;<A HREF="../../../../org/apache/xmlrpc/webserver/RequestData.html" title="class in org.apache.xmlrpc.webserver"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.html" title="class in org.apache.xmlrpc.webserver"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../index.html?org/apache/xmlrpc/webserver/ServletConnection.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="ServletConnection.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  56. &nbsp;<SCRIPT type="text/javascript">
  57. <!--
  58. if(window==top) {
  59. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  60. }
  61. //-->
  62. </SCRIPT>
  63. <NOSCRIPT>
  64. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  65. </NOSCRIPT>
  66. </FONT></TD>
  67. </TR>
  68. <TR>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  71. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  72. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  73. </TR>
  74. </TABLE>
  75. <A NAME="skip-navbar_top"></A>
  76. <!-- ========= END OF TOP NAVBAR ========= -->
  77. <HR>
  78. <!-- ======== START OF CLASS DATA ======== -->
  79. <H2>
  80. <FONT SIZE="-1">
  81. org.apache.xmlrpc.webserver</FONT>
  82. <BR>
  83. Class ServletConnection</H2>
  84. <PRE>
  85. java.lang.Object
  86. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.webserver.ServletConnection</B>
  87. </PRE>
  88. <DL>
  89. <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>
  90. </DL>
  91. <HR>
  92. <DL>
  93. <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>
  94. </PRE>
  95. <P>
  96. <A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.html" title="class in org.apache.xmlrpc.webserver"><CODE>ServletWebServer's</CODE></A>
  97. <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
  98. servlet connection.
  99. <P>
  100. <P>
  101. <HR>
  102. <P>
  103. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  104. <A NAME="constructor_summary"><!-- --></A>
  105. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  106. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  107. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  108. <B>Constructor Summary</B></FONT></TH>
  109. </TR>
  110. <TR BGCOLOR="white" CLASS="TableRowColor">
  111. <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&nbsp;pServlet,
  112. java.net.Socket&nbsp;pSocket)</CODE>
  113. <BR>
  114. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance.</TD>
  115. </TR>
  116. </TABLE>
  117. &nbsp;
  118. <!-- ========== METHOD SUMMARY =========== -->
  119. <A NAME="method_summary"><!-- --></A>
  120. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  121. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  122. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  123. <B>Method Summary</B></FONT></TH>
  124. </TR>
  125. <TR BGCOLOR="white" CLASS="TableRowColor">
  126. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  127. <CODE>&nbsp;void</CODE></FONT></TD>
  128. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/ServletConnection.html#run()">run</A></B>()</CODE>
  129. <BR>
  130. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Performs the task.</TD>
  131. </TR>
  132. <TR BGCOLOR="white" CLASS="TableRowColor">
  133. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  134. <CODE>&nbsp;void</CODE></FONT></TD>
  135. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/ServletConnection.html#shutdown()">shutdown</A></B>()</CODE>
  136. <BR>
  137. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Interrupts the task.</TD>
  138. </TR>
  139. </TABLE>
  140. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  141. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  142. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  143. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  144. </TR>
  145. <TR BGCOLOR="white" CLASS="TableRowColor">
  146. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  147. </TR>
  148. </TABLE>
  149. &nbsp;
  150. <P>
  151. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  152. <A NAME="constructor_detail"><!-- --></A>
  153. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  154. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  155. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  156. <B>Constructor Detail</B></FONT></TH>
  157. </TR>
  158. </TABLE>
  159. <A NAME="ServletConnection(javax.servlet.http.HttpServlet, java.net.Socket)"><!-- --></A><H3>
  160. ServletConnection</H3>
  161. <PRE>
  162. public <B>ServletConnection</B>(javax.servlet.http.HttpServlet&nbsp;pServlet,
  163. java.net.Socket&nbsp;pSocket)
  164. throws java.io.IOException</PRE>
  165. <DL>
  166. <DD>Creates a new instance.
  167. <P>
  168. <DL>
  169. <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.
  170. <DT><B>Throws:</B>
  171. <DD><CODE>java.io.IOException</CODE></DL>
  172. </DL>
  173. <!-- ============ METHOD DETAIL ========== -->
  174. <A NAME="method_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>Method Detail</B></FONT></TH>
  179. </TR>
  180. </TABLE>
  181. <A NAME="run()"><!-- --></A><H3>
  182. run</H3>
  183. <PRE>
  184. public void <B>run</B>()
  185. throws java.lang.Throwable</PRE>
  186. <DL>
  187. <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html#run()">ThreadPool.Task</A></CODE></B></DD>
  188. <DD>Performs the task.
  189. <P>
  190. <DD><DL>
  191. <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>
  192. </DD>
  193. <DD><DL>
  194. <DT><B>Throws:</B>
  195. <DD><CODE>java.lang.Throwable</CODE> - The task failed, and the worker thread won't be used again.</DL>
  196. </DD>
  197. </DL>
  198. <HR>
  199. <A NAME="shutdown()"><!-- --></A><H3>
  200. shutdown</H3>
  201. <PRE>
  202. public void <B>shutdown</B>()
  203. throws java.lang.Throwable</PRE>
  204. <DL>
  205. <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.InterruptableTask.html#shutdown()">ThreadPool.InterruptableTask</A></CODE></B></DD>
  206. <DD>Interrupts the task.
  207. <P>
  208. <DD><DL>
  209. <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>
  210. </DD>
  211. <DD><DL>
  212. <DT><B>Throws:</B>
  213. <DD><CODE>java.lang.Throwable</CODE> - Shutting down the task failed.</DL>
  214. </DD>
  215. </DL>
  216. <!-- ========= END OF CLASS DATA ========= -->
  217. <HR>
  218. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  219. <A NAME="navbar_bottom"><!-- --></A>
  220. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  221. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  222. <TR>
  223. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  224. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  225. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  226. <TR ALIGN="center" VALIGN="top">
  227. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  228. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  229. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  230. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServletConnection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  231. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  232. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  233. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  234. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  235. </TR>
  236. </TABLE>
  237. </TD>
  238. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  239. </EM>
  240. </TD>
  241. </TR>
  242. <TR>
  243. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  244. &nbsp;<A HREF="../../../../org/apache/xmlrpc/webserver/RequestData.html" title="class in org.apache.xmlrpc.webserver"><B>PREV CLASS</B></A>&nbsp;
  245. &nbsp;<A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.html" title="class in org.apache.xmlrpc.webserver"><B>NEXT CLASS</B></A></FONT></TD>
  246. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  247. <A HREF="../../../../index.html?org/apache/xmlrpc/webserver/ServletConnection.html" target="_top"><B>FRAMES</B></A> &nbsp;
  248. &nbsp;<A HREF="ServletConnection.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  249. &nbsp;<SCRIPT type="text/javascript">
  250. <!--
  251. if(window==top) {
  252. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  253. }
  254. //-->
  255. </SCRIPT>
  256. <NOSCRIPT>
  257. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  258. </NOSCRIPT>
  259. </FONT></TD>
  260. </TR>
  261. <TR>
  262. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  263. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  264. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  265. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  266. </TR>
  267. </TABLE>
  268. <A NAME="skip-navbar_bottom"></A>
  269. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  270. <HR>
  271. Copyright &#169; 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
  272. </BODY>
  273. </HTML>