965d07047ca35a3f91de288b67f6e95210dc6d3a
[platform/upstream/python-lxml.git] / doc / html / api / lxml.tests.dummy_http_server.WebServer-class.html
1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3           "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <head>
6   <title>lxml.tests.dummy_http_server.WebServer</title>
7   <link rel="stylesheet" href="epydoc.css" type="text/css" />
8   <script type="text/javascript" src="epydoc.js"></script>
9 </head>
10
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
12       alink="#204080">
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15        bgcolor="#a0c0ff" cellspacing="0">
16   <tr valign="middle">
17   <!-- Home link -->
18       <th>&nbsp;&nbsp;&nbsp;<a
19         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21   <!-- Tree link -->
22       <th>&nbsp;&nbsp;&nbsp;<a
23         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25   <!-- Index link -->
26       <th>&nbsp;&nbsp;&nbsp;<a
27         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29   <!-- Help link -->
30       <th>&nbsp;&nbsp;&nbsp;<a
31         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33   <!-- Project homepage -->
34       <th class="navbar" align="right" width="100%">
35         <table border="0" cellpadding="0" cellspacing="0">
36           <tr><th class="navbar" align="center"
37             ><a class="navbar" target="_top" href="/">lxml API</a></th>
38           </tr></table></th>
39   </tr>
40 </table>
41 <table width="100%" cellpadding="0" cellspacing="0">
42   <tr valign="top">
43     <td width="100%">
44       <span class="breadcrumbs">
45         <a href="lxml-module.html">Package&nbsp;lxml</a> ::
46         <a href="lxml.tests-module.html">Package&nbsp;tests</a> ::
47         <a href="lxml.tests.dummy_http_server-module.html">Module&nbsp;dummy_http_server</a> ::
48         Class&nbsp;WebServer
49       </span>
50     </td>
51     <td>
52       <table cellpadding="0" cellspacing="0">
53         <!-- hide/show private -->
54         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
56         <tr><td align="right"><span class="options"
57             >[<a href="frames.html" target="_top">frames</a
58             >]&nbsp;|&nbsp;<a href="lxml.tests.dummy_http_server.WebServer-class.html"
59             target="_top">no&nbsp;frames</a>]</span></td></tr>
60       </table>
61     </td>
62   </tr>
63 </table>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class WebServer</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.tests.dummy_http_server-pysrc.html#WebServer">source&nbsp;code</a></span></p>
66 <pre class="base-tree">
67 SocketServer.BaseServer --+            
68                           |            
69      SocketServer.TCPServer --+        
70                               |        
71       BaseHTTPServer.HTTPServer --+    
72                                   |    
73    wsgiref.simple_server.WSGIServer --+
74                                       |
75         SocketServer.ThreadingMixIn --+
76                                       |
77                                      <strong class="uidshort">WebServer</strong>
78 </pre>
79
80 <hr />
81 A web server that starts a new thread for each request.
82
83 <!-- ==================== INSTANCE METHODS ==================== -->
84 <a name="section-InstanceMethods"></a>
85 <table class="summary" border="1" cellpadding="3"
86        cellspacing="0" width="100%" bgcolor="white">
87 <tr bgcolor="#70b0f0" class="table-header">
88   <td colspan="2" class="table-header">
89     <table border="0" cellpadding="0" cellspacing="0" width="100%">
90       <tr valign="top">
91         <td align="left"><span class="table-header">Instance Methods</span></td>
92         <td align="right" valign="top"
93          ><span class="options">[<a href="#section-InstanceMethods"
94          class="privatelink" onclick="toggle_private();"
95          >hide private</a>]</span></td>
96       </tr>
97     </table>
98   </td>
99 </tr>
100   <tr>
101     <td colspan="2" class="summary">
102     <p class="indent-wrapped-lines"><b>Inherited from <code>wsgiref.simple_server.WSGIServer</code></b>:
103       <code>get_app</code>,
104       <code>server_bind</code>,
105       <code>set_app</code>,
106       <code>setup_environ</code>
107       </p>
108     <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.TCPServer</code></b>:
109       <code>__init__</code>,
110       <code>close_request</code>,
111       <code>fileno</code>,
112       <code>get_request</code>,
113       <code>server_activate</code>,
114       <code>server_close</code>,
115       <code>shutdown_request</code>
116       </p>
117     <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.BaseServer</code></b>:
118       <code>finish_request</code>,
119       <code>handle_error</code>,
120       <code>handle_request</code>,
121       <code>handle_timeout</code>,
122       <code>process_request</code>,
123       <code>serve_forever</code>,
124       <code>shutdown</code>,
125       <code>verify_request</code>
126       </p>
127     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.BaseServer</code></b> (private):
128       <code>_handle_request_noblock</code>
129       </p></div>
130     <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.ThreadingMixIn</code></b>:
131       <code>process_request_thread</code>
132       </p>
133     </td>
134   </tr>
135 </table>
136 <!-- ==================== CLASS VARIABLES ==================== -->
137 <a name="section-ClassVariables"></a>
138 <table class="summary" border="1" cellpadding="3"
139        cellspacing="0" width="100%" bgcolor="white">
140 <tr bgcolor="#70b0f0" class="table-header">
141   <td colspan="2" class="table-header">
142     <table border="0" cellpadding="0" cellspacing="0" width="100%">
143       <tr valign="top">
144         <td align="left"><span class="table-header">Class Variables</span></td>
145         <td align="right" valign="top"
146          ><span class="options">[<a href="#section-ClassVariables"
147          class="privatelink" onclick="toggle_private();"
148          >hide private</a>]</span></td>
149       </tr>
150     </table>
151   </td>
152 </tr>
153   <tr>
154     <td colspan="2" class="summary">
155     <p class="indent-wrapped-lines"><b>Inherited from <code>wsgiref.simple_server.WSGIServer</code></b>:
156       <code>application</code>
157       </p>
158     <p class="indent-wrapped-lines"><b>Inherited from <code>BaseHTTPServer.HTTPServer</code></b>:
159       <code>allow_reuse_address</code>
160       </p>
161     <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.TCPServer</code></b>:
162       <code>address_family</code>,
163       <code>request_queue_size</code>,
164       <code>socket_type</code>
165       </p>
166     <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.BaseServer</code></b>:
167       <code>timeout</code>
168       </p>
169     <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.ThreadingMixIn</code></b>:
170       <code>daemon_threads</code>
171       </p>
172     </td>
173   </tr>
174 </table>
175 <!-- ==================== NAVIGATION BAR ==================== -->
176 <table class="navbar" border="0" width="100%" cellpadding="0"
177        bgcolor="#a0c0ff" cellspacing="0">
178   <tr valign="middle">
179   <!-- Home link -->
180       <th>&nbsp;&nbsp;&nbsp;<a
181         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
182
183   <!-- Tree link -->
184       <th>&nbsp;&nbsp;&nbsp;<a
185         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
186
187   <!-- Index link -->
188       <th>&nbsp;&nbsp;&nbsp;<a
189         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
190
191   <!-- Help link -->
192       <th>&nbsp;&nbsp;&nbsp;<a
193         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
194
195   <!-- Project homepage -->
196       <th class="navbar" align="right" width="100%">
197         <table border="0" cellpadding="0" cellspacing="0">
198           <tr><th class="navbar" align="center"
199             ><a class="navbar" target="_top" href="/">lxml API</a></th>
200           </tr></table></th>
201   </tr>
202 </table>
203 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
204   <tr>
205     <td align="left" class="footer">
206     Generated by Epydoc 3.0.1
207     on Wed Jan 29 12:26:21 2020
208     </td>
209     <td align="right" class="footer">
210       <a target="mainFrame" href="http://epydoc.sourceforge.net"
211         >http://epydoc.sourceforge.net</a>
212     </td>
213   </tr>
214 </table>
215
216 <script type="text/javascript">
217   <!--
218   // Private objects are initially displayed (because if
219   // javascript is turned off then we want them to be
220   // visible); but by default, we want to hide them.  So hide
221   // them unless we have a cookie that says to show them.
222   checkCookie();
223   // -->
224 </script>
225 </body>
226 </html>