mongrel 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/README +30 -24
  2. data/Rakefile +12 -2
  3. data/bin/mongrel_rails +12 -8
  4. data/doc/rdoc/classes/Mongrel.html +18 -1
  5. data/doc/rdoc/classes/Mongrel/CGIWrapper.html +381 -0
  6. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000051.html +24 -0
  7. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000052.html +47 -0
  8. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000053.html +34 -0
  9. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000054.html +27 -0
  10. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000055.html +25 -0
  11. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000056.html +18 -0
  12. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000057.html +18 -0
  13. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000058.html +18 -0
  14. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000059.html +19 -0
  15. data/doc/rdoc/classes/Mongrel/Command.html +119 -0
  16. data/doc/rdoc/classes/Mongrel/Command/Base.html +332 -0
  17. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000003.html +24 -0
  18. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000004.html +41 -0
  19. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000005.html +18 -0
  20. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000006.html +18 -0
  21. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000007.html +18 -0
  22. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000008.html +22 -0
  23. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000009.html +18 -0
  24. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000010.html +18 -0
  25. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000011.html +18 -0
  26. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000012.html +18 -0
  27. data/doc/rdoc/classes/Mongrel/Command/Registry.html +192 -0
  28. data/doc/rdoc/classes/Mongrel/Command/Registry.src/M000013.html +20 -0
  29. data/doc/rdoc/classes/Mongrel/Command/Registry.src/M000014.html +25 -0
  30. data/doc/rdoc/classes/Mongrel/Command/Registry.src/M000015.html +46 -0
  31. data/doc/rdoc/classes/Mongrel/Const.html +2 -2
  32. data/doc/rdoc/classes/Mongrel/DirHandler.html +283 -0
  33. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000023.html +20 -0
  34. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000024.html +42 -0
  35. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000025.html +40 -0
  36. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000026.html +31 -0
  37. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000027.html +38 -0
  38. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000028.html +18 -0
  39. data/doc/rdoc/classes/Mongrel/Error404Handler.html +171 -0
  40. data/doc/rdoc/classes/Mongrel/Error404Handler.src/M000060.html +18 -0
  41. data/doc/rdoc/classes/Mongrel/Error404Handler.src/M000061.html +18 -0
  42. data/doc/rdoc/classes/Mongrel/HeaderOut.html +10 -10
  43. data/doc/rdoc/classes/Mongrel/HeaderOut.src/{M000014.html → M000035.html} +0 -0
  44. data/doc/rdoc/classes/Mongrel/HeaderOut.src/{M000015.html → M000036.html} +0 -0
  45. data/doc/rdoc/classes/Mongrel/HttpHandler.html +146 -0
  46. data/doc/rdoc/classes/Mongrel/HttpHandler.src/M000037.html +17 -0
  47. data/doc/rdoc/classes/Mongrel/HttpParser.html +35 -35
  48. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000001.html → M000016.html} +0 -0
  49. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000002.html → M000017.html} +0 -0
  50. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000003.html → M000018.html} +0 -0
  51. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000004.html → M000019.html} +0 -0
  52. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000005.html → M000020.html} +0 -0
  53. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000006.html → M000021.html} +0 -0
  54. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000007.html → M000022.html} +0 -0
  55. data/doc/rdoc/classes/Mongrel/HttpRequest.html +5 -5
  56. data/doc/rdoc/classes/Mongrel/HttpRequest.src/{M000029.html → M000062.html} +0 -0
  57. data/doc/rdoc/classes/Mongrel/HttpResponse.html +36 -36
  58. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000016.html → M000038.html} +0 -0
  59. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000017.html → M000039.html} +0 -0
  60. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000018.html → M000040.html} +0 -0
  61. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000019.html → M000041.html} +0 -0
  62. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000020.html → M000042.html} +0 -0
  63. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000021.html → M000043.html} +0 -0
  64. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000022.html → M000044.html} +0 -0
  65. data/doc/rdoc/classes/Mongrel/HttpServer.html +33 -33
  66. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000008.html → M000029.html} +0 -0
  67. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000009.html → M000030.html} +0 -0
  68. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000010.html → M000031.html} +0 -0
  69. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000011.html → M000032.html} +0 -0
  70. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000012.html → M000033.html} +0 -0
  71. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000013.html → M000034.html} +0 -0
  72. data/doc/rdoc/classes/Mongrel/URIClassifier.html +33 -32
  73. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000023.html → M000045.html} +0 -0
  74. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000024.html → M000046.html} +0 -0
  75. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000025.html → M000047.html} +0 -0
  76. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000026.html → M000048.html} +0 -0
  77. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000027.html → M000049.html} +0 -0
  78. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000028.html → M000050.html} +0 -0
  79. data/doc/rdoc/classes/RailsHandler.html +225 -0
  80. data/doc/rdoc/classes/RailsHandler.src/M000001.html +22 -0
  81. data/doc/rdoc/classes/RailsHandler.src/M000002.html +48 -0
  82. data/doc/rdoc/created.rid +1 -1
  83. data/doc/rdoc/files/README.html +45 -50
  84. data/doc/rdoc/files/lib/mongrel/cgi_rb.html +108 -0
  85. data/doc/rdoc/files/lib/mongrel/command_rb.html +110 -0
  86. data/doc/rdoc/files/lib/mongrel/handlers_rb.html +101 -0
  87. data/doc/rdoc/files/lib/mongrel/plugins_rb.html +108 -0
  88. data/doc/rdoc/files/lib/mongrel/rails_rb.html +108 -0
  89. data/doc/rdoc/fr_class_index.html +8 -0
  90. data/doc/rdoc/fr_file_index.html +5 -0
  91. data/doc/rdoc/fr_method_index.html +62 -29
  92. data/lib/mongrel/command.rb +5 -5
  93. data/lib/mongrel/plugins.rb +3 -152
  94. data/lib/mongrel/rails.rb +1 -1
  95. metadata +95 -35
  96. data/test/plugins/commands/test1.rb +0 -19
  97. data/test/test_plugins.rb +0 -45
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>process (Mongrel::HttpHandler)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel/handlers.rb, line 9</span>
14
+ 9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process</span>(<span class="ruby-identifier">request</span>, <span class="ruby-identifier">response</span>)
15
+ 10: <span class="ruby-keyword kw">end</span></pre>
16
+ </body>
17
+ </html>
@@ -86,13 +86,13 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000005">error?</a>&nbsp;&nbsp;
90
- <a href="#M000004">execute</a>&nbsp;&nbsp;
91
- <a href="#M000003">finish</a>&nbsp;&nbsp;
92
- <a href="#M000006">finished?</a>&nbsp;&nbsp;
93
- <a href="#M000001">new</a>&nbsp;&nbsp;
94
- <a href="#M000007">nread</a>&nbsp;&nbsp;
95
- <a href="#M000002">reset</a>&nbsp;&nbsp;
89
+ <a href="#M000020">error?</a>&nbsp;&nbsp;
90
+ <a href="#M000019">execute</a>&nbsp;&nbsp;
91
+ <a href="#M000018">finish</a>&nbsp;&nbsp;
92
+ <a href="#M000021">finished?</a>&nbsp;&nbsp;
93
+ <a href="#M000016">new</a>&nbsp;&nbsp;
94
+ <a href="#M000022">nread</a>&nbsp;&nbsp;
95
+ <a href="#M000017">reset</a>&nbsp;&nbsp;
96
96
  </div>
97
97
  </div>
98
98
 
@@ -114,12 +114,12 @@
114
114
  <div id="methods">
115
115
  <h3 class="section-bar">Public Class methods</h3>
116
116
 
117
- <div id="method-M000001" class="method-detail">
118
- <a name="M000001"></a>
117
+ <div id="method-M000016" class="method-detail">
118
+ <a name="M000016"></a>
119
119
 
120
120
  <div class="method-heading">
121
- <a href="HttpParser.src/M000001.html" target="Code" class="method-signature"
122
- onclick="popupCode('HttpParser.src/M000001.html');return false;">
121
+ <a href="HttpParser.src/M000016.html" target="Code" class="method-signature"
122
+ onclick="popupCode('HttpParser.src/M000016.html');return false;">
123
123
  <span class="method-name">parser.new &rarr; parser<br />
124
124
  </span>
125
125
  </a>
@@ -134,12 +134,12 @@ Creates a new parser.
134
134
 
135
135
  <h3 class="section-bar">Public Instance methods</h3>
136
136
 
137
- <div id="method-M000005" class="method-detail">
138
- <a name="M000005"></a>
137
+ <div id="method-M000020" class="method-detail">
138
+ <a name="M000020"></a>
139
139
 
140
140
  <div class="method-heading">
141
- <a href="HttpParser.src/M000005.html" target="Code" class="method-signature"
142
- onclick="popupCode('HttpParser.src/M000005.html');return false;">
141
+ <a href="HttpParser.src/M000020.html" target="Code" class="method-signature"
142
+ onclick="popupCode('HttpParser.src/M000020.html');return false;">
143
143
  <span class="method-name">parser.error? &rarr; true/false<br />
144
144
  </span>
145
145
  </a>
@@ -152,12 +152,12 @@ Tells you whether the parser is in an error state.
152
152
  </div>
153
153
  </div>
154
154
 
155
- <div id="method-M000004" class="method-detail">
156
- <a name="M000004"></a>
155
+ <div id="method-M000019" class="method-detail">
156
+ <a name="M000019"></a>
157
157
 
158
158
  <div class="method-heading">
159
- <a href="HttpParser.src/M000004.html" target="Code" class="method-signature"
160
- onclick="popupCode('HttpParser.src/M000004.html');return false;">
159
+ <a href="HttpParser.src/M000019.html" target="Code" class="method-signature"
160
+ onclick="popupCode('HttpParser.src/M000019.html');return false;">
161
161
  <span class="method-name">parser.execute(req_hash, data) &rarr; Integer<br />
162
162
  </span>
163
163
  </a>
@@ -180,12 +180,12 @@ handling block.
180
180
  </div>
181
181
  </div>
182
182
 
183
- <div id="method-M000003" class="method-detail">
184
- <a name="M000003"></a>
183
+ <div id="method-M000018" class="method-detail">
184
+ <a name="M000018"></a>
185
185
 
186
186
  <div class="method-heading">
187
- <a href="HttpParser.src/M000003.html" target="Code" class="method-signature"
188
- onclick="popupCode('HttpParser.src/M000003.html');return false;">
187
+ <a href="HttpParser.src/M000018.html" target="Code" class="method-signature"
188
+ onclick="popupCode('HttpParser.src/M000018.html');return false;">
189
189
  <span class="method-name">parser.finish &rarr; true/false<br />
190
190
  </span>
191
191
  </a>
@@ -199,12 +199,12 @@ You should call reset after finish it or bad things will happen.
199
199
  </div>
200
200
  </div>
201
201
 
202
- <div id="method-M000006" class="method-detail">
203
- <a name="M000006"></a>
202
+ <div id="method-M000021" class="method-detail">
203
+ <a name="M000021"></a>
204
204
 
205
205
  <div class="method-heading">
206
- <a href="HttpParser.src/M000006.html" target="Code" class="method-signature"
207
- onclick="popupCode('HttpParser.src/M000006.html');return false;">
206
+ <a href="HttpParser.src/M000021.html" target="Code" class="method-signature"
207
+ onclick="popupCode('HttpParser.src/M000021.html');return false;">
208
208
  <span class="method-name">parser.finished? &rarr; true/false<br />
209
209
  </span>
210
210
  </a>
@@ -217,12 +217,12 @@ Tells you whether the parser is finished or not and in a good state.
217
217
  </div>
218
218
  </div>
219
219
 
220
- <div id="method-M000007" class="method-detail">
221
- <a name="M000007"></a>
220
+ <div id="method-M000022" class="method-detail">
221
+ <a name="M000022"></a>
222
222
 
223
223
  <div class="method-heading">
224
- <a href="HttpParser.src/M000007.html" target="Code" class="method-signature"
225
- onclick="popupCode('HttpParser.src/M000007.html');return false;">
224
+ <a href="HttpParser.src/M000022.html" target="Code" class="method-signature"
225
+ onclick="popupCode('HttpParser.src/M000022.html');return false;">
226
226
  <span class="method-name">parser.nread &rarr; Integer<br />
227
227
  </span>
228
228
  </a>
@@ -237,12 +237,12 @@ execute is called.
237
237
  </div>
238
238
  </div>
239
239
 
240
- <div id="method-M000002" class="method-detail">
241
- <a name="M000002"></a>
240
+ <div id="method-M000017" class="method-detail">
241
+ <a name="M000017"></a>
242
242
 
243
243
  <div class="method-heading">
244
- <a href="HttpParser.src/M000002.html" target="Code" class="method-signature"
245
- onclick="popupCode('HttpParser.src/M000002.html');return false;">
244
+ <a href="HttpParser.src/M000017.html" target="Code" class="method-signature"
245
+ onclick="popupCode('HttpParser.src/M000017.html');return false;">
246
246
  <span class="method-name">parser.reset &rarr; nil<br />
247
247
  </span>
248
248
  </a>
@@ -103,7 +103,7 @@ efficiently handling large file uploads.
103
103
  <h3 class="section-bar">Methods</h3>
104
104
 
105
105
  <div class="name-list">
106
- <a href="#M000029">new</a>&nbsp;&nbsp;
106
+ <a href="#M000062">new</a>&nbsp;&nbsp;
107
107
  </div>
108
108
  </div>
109
109
 
@@ -143,12 +143,12 @@ efficiently handling large file uploads.
143
143
  <div id="methods">
144
144
  <h3 class="section-bar">Public Class methods</h3>
145
145
 
146
- <div id="method-M000029" class="method-detail">
147
- <a name="M000029"></a>
146
+ <div id="method-M000062" class="method-detail">
147
+ <a name="M000062"></a>
148
148
 
149
149
  <div class="method-heading">
150
- <a href="HttpRequest.src/M000029.html" target="Code" class="method-signature"
151
- onclick="popupCode('HttpRequest.src/M000029.html');return false;">
150
+ <a href="HttpRequest.src/M000062.html" target="Code" class="method-signature"
151
+ onclick="popupCode('HttpRequest.src/M000062.html');return false;">
152
152
  <span class="method-name">new</span><span class="method-args">(params, initial_body, socket)</span>
153
153
  </a>
154
154
  </div>
@@ -94,7 +94,7 @@ The parameter to start is the response code&#8212;which <a
94
94
  href="../Mongrel.html">Mongrel</a> will translate for you based on
95
95
  HTTP_STATUS_CODES. The head parameter is how you write custom headers. The
96
96
  out parameter is where you write your body. The default status code for <a
97
- href="HttpResponse.html#M000017">HttpResponse.start</a> is 200 so the above
97
+ href="HttpResponse.html#M000039">HttpResponse.start</a> is 200 so the above
98
98
  example is redundant.
99
99
  </p>
100
100
  <p>
@@ -131,13 +131,13 @@ will write this for you based on the out length.
131
131
  <h3 class="section-bar">Methods</h3>
132
132
 
133
133
  <div class="name-list">
134
- <a href="#M000022">finished</a>&nbsp;&nbsp;
135
- <a href="#M000016">new</a>&nbsp;&nbsp;
136
- <a href="#M000018">reset</a>&nbsp;&nbsp;
137
- <a href="#M000021">send_body</a>&nbsp;&nbsp;
138
- <a href="#M000020">send_header</a>&nbsp;&nbsp;
139
- <a href="#M000019">send_status</a>&nbsp;&nbsp;
140
- <a href="#M000017">start</a>&nbsp;&nbsp;
134
+ <a href="#M000044">finished</a>&nbsp;&nbsp;
135
+ <a href="#M000038">new</a>&nbsp;&nbsp;
136
+ <a href="#M000040">reset</a>&nbsp;&nbsp;
137
+ <a href="#M000043">send_body</a>&nbsp;&nbsp;
138
+ <a href="#M000042">send_header</a>&nbsp;&nbsp;
139
+ <a href="#M000041">send_status</a>&nbsp;&nbsp;
140
+ <a href="#M000039">start</a>&nbsp;&nbsp;
141
141
  </div>
142
142
  </div>
143
143
 
@@ -192,12 +192,12 @@ will write this for you based on the out length.
192
192
  <div id="methods">
193
193
  <h3 class="section-bar">Public Class methods</h3>
194
194
 
195
- <div id="method-M000016" class="method-detail">
196
- <a name="M000016"></a>
195
+ <div id="method-M000038" class="method-detail">
196
+ <a name="M000038"></a>
197
197
 
198
198
  <div class="method-heading">
199
- <a href="HttpResponse.src/M000016.html" target="Code" class="method-signature"
200
- onclick="popupCode('HttpResponse.src/M000016.html');return false;">
199
+ <a href="HttpResponse.src/M000038.html" target="Code" class="method-signature"
200
+ onclick="popupCode('HttpResponse.src/M000038.html');return false;">
201
201
  <span class="method-name">new</span><span class="method-args">(socket)</span>
202
202
  </a>
203
203
  </div>
@@ -208,12 +208,12 @@ will write this for you based on the out length.
208
208
 
209
209
  <h3 class="section-bar">Public Instance methods</h3>
210
210
 
211
- <div id="method-M000022" class="method-detail">
212
- <a name="M000022"></a>
211
+ <div id="method-M000044" class="method-detail">
212
+ <a name="M000044"></a>
213
213
 
214
214
  <div class="method-heading">
215
- <a href="HttpResponse.src/M000022.html" target="Code" class="method-signature"
216
- onclick="popupCode('HttpResponse.src/M000022.html');return false;">
215
+ <a href="HttpResponse.src/M000044.html" target="Code" class="method-signature"
216
+ onclick="popupCode('HttpResponse.src/M000044.html');return false;">
217
217
  <span class="method-name">finished</span><span class="method-args">()</span>
218
218
  </a>
219
219
  </div>
@@ -226,12 +226,12 @@ the proper format to make an HTTP/1.1 response.
226
226
  </div>
227
227
  </div>
228
228
 
229
- <div id="method-M000018" class="method-detail">
230
- <a name="M000018"></a>
229
+ <div id="method-M000040" class="method-detail">
230
+ <a name="M000040"></a>
231
231
 
232
232
  <div class="method-heading">
233
- <a href="HttpResponse.src/M000018.html" target="Code" class="method-signature"
234
- onclick="popupCode('HttpResponse.src/M000018.html');return false;">
233
+ <a href="HttpResponse.src/M000040.html" target="Code" class="method-signature"
234
+ onclick="popupCode('HttpResponse.src/M000040.html');return false;">
235
235
  <span class="method-name">reset</span><span class="method-args">()</span>
236
236
  </a>
237
237
  </div>
@@ -244,12 +244,12 @@ to write an alternative response.
244
244
  </div>
245
245
  </div>
246
246
 
247
- <div id="method-M000021" class="method-detail">
248
- <a name="M000021"></a>
247
+ <div id="method-M000043" class="method-detail">
248
+ <a name="M000043"></a>
249
249
 
250
250
  <div class="method-heading">
251
- <a href="HttpResponse.src/M000021.html" target="Code" class="method-signature"
252
- onclick="popupCode('HttpResponse.src/M000021.html');return false;">
251
+ <a href="HttpResponse.src/M000043.html" target="Code" class="method-signature"
252
+ onclick="popupCode('HttpResponse.src/M000043.html');return false;">
253
253
  <span class="method-name">send_body</span><span class="method-args">()</span>
254
254
  </a>
255
255
  </div>
@@ -258,12 +258,12 @@ to write an alternative response.
258
258
  </div>
259
259
  </div>
260
260
 
261
- <div id="method-M000020" class="method-detail">
262
- <a name="M000020"></a>
261
+ <div id="method-M000042" class="method-detail">
262
+ <a name="M000042"></a>
263
263
 
264
264
  <div class="method-heading">
265
- <a href="HttpResponse.src/M000020.html" target="Code" class="method-signature"
266
- onclick="popupCode('HttpResponse.src/M000020.html');return false;">
265
+ <a href="HttpResponse.src/M000042.html" target="Code" class="method-signature"
266
+ onclick="popupCode('HttpResponse.src/M000042.html');return false;">
267
267
  <span class="method-name">send_header</span><span class="method-args">()</span>
268
268
  </a>
269
269
  </div>
@@ -272,12 +272,12 @@ to write an alternative response.
272
272
  </div>
273
273
  </div>
274
274
 
275
- <div id="method-M000019" class="method-detail">
276
- <a name="M000019"></a>
275
+ <div id="method-M000041" class="method-detail">
276
+ <a name="M000041"></a>
277
277
 
278
278
  <div class="method-heading">
279
- <a href="HttpResponse.src/M000019.html" target="Code" class="method-signature"
280
- onclick="popupCode('HttpResponse.src/M000019.html');return false;">
279
+ <a href="HttpResponse.src/M000041.html" target="Code" class="method-signature"
280
+ onclick="popupCode('HttpResponse.src/M000041.html');return false;">
281
281
  <span class="method-name">send_status</span><span class="method-args">()</span>
282
282
  </a>
283
283
  </div>
@@ -286,12 +286,12 @@ to write an alternative response.
286
286
  </div>
287
287
  </div>
288
288
 
289
- <div id="method-M000017" class="method-detail">
290
- <a name="M000017"></a>
289
+ <div id="method-M000039" class="method-detail">
290
+ <a name="M000039"></a>
291
291
 
292
292
  <div class="method-heading">
293
- <a href="HttpResponse.src/M000017.html" target="Code" class="method-signature"
294
- onclick="popupCode('HttpResponse.src/M000017.html');return false;">
293
+ <a href="HttpResponse.src/M000039.html" target="Code" class="method-signature"
294
+ onclick="popupCode('HttpResponse.src/M000039.html');return false;">
295
295
  <span class="method-name">start</span><span class="method-args">(status=200) {|@header, @body| ...}</span>
296
296
  </a>
297
297
  </div>
@@ -85,7 +85,7 @@ Mognrel::HttpParser and <a
85
85
  href="URIClassifier.html">Mongrel::URIClassifier</a> make up the majority
86
86
  of how the server functions. It&#8217;s a very simple class that just has a
87
87
  thread accepting connections and a simple <a
88
- href="HttpServer.html#M000009">HttpServer.process_client</a> function to do
88
+ href="HttpServer.html#M000030">HttpServer.process_client</a> function to do
89
89
  the heavy lifting with the IO and Ruby.
90
90
  </p>
91
91
  <p>
@@ -119,12 +119,12 @@ finally useful.
119
119
  <h3 class="section-bar">Methods</h3>
120
120
 
121
121
  <div class="name-list">
122
- <a href="#M000008">new</a>&nbsp;&nbsp;
123
- <a href="#M000009">process_client</a>&nbsp;&nbsp;
124
- <a href="#M000011">register</a>&nbsp;&nbsp;
125
- <a href="#M000010">run</a>&nbsp;&nbsp;
126
- <a href="#M000013">stop</a>&nbsp;&nbsp;
127
- <a href="#M000012">unregister</a>&nbsp;&nbsp;
122
+ <a href="#M000029">new</a>&nbsp;&nbsp;
123
+ <a href="#M000030">process_client</a>&nbsp;&nbsp;
124
+ <a href="#M000032">register</a>&nbsp;&nbsp;
125
+ <a href="#M000031">run</a>&nbsp;&nbsp;
126
+ <a href="#M000034">stop</a>&nbsp;&nbsp;
127
+ <a href="#M000033">unregister</a>&nbsp;&nbsp;
128
128
  </div>
129
129
  </div>
130
130
 
@@ -159,12 +159,12 @@ finally useful.
159
159
  <div id="methods">
160
160
  <h3 class="section-bar">Public Class methods</h3>
161
161
 
162
- <div id="method-M000008" class="method-detail">
163
- <a name="M000008"></a>
162
+ <div id="method-M000029" class="method-detail">
163
+ <a name="M000029"></a>
164
164
 
165
165
  <div class="method-heading">
166
- <a href="HttpServer.src/M000008.html" target="Code" class="method-signature"
167
- onclick="popupCode('HttpServer.src/M000008.html');return false;">
166
+ <a href="HttpServer.src/M000029.html" target="Code" class="method-signature"
167
+ onclick="popupCode('HttpServer.src/M000029.html');return false;">
168
168
  <span class="method-name">new</span><span class="method-args">(host, port, num_processors=20, timeout=120)</span>
169
169
  </a>
170
170
  </div>
@@ -195,12 +195,12 @@ tuned your stuff of course).
195
195
 
196
196
  <h3 class="section-bar">Public Instance methods</h3>
197
197
 
198
- <div id="method-M000009" class="method-detail">
199
- <a name="M000009"></a>
198
+ <div id="method-M000030" class="method-detail">
199
+ <a name="M000030"></a>
200
200
 
201
201
  <div class="method-heading">
202
- <a href="HttpServer.src/M000009.html" target="Code" class="method-signature"
203
- onclick="popupCode('HttpServer.src/M000009.html');return false;">
202
+ <a href="HttpServer.src/M000030.html" target="Code" class="method-signature"
203
+ onclick="popupCode('HttpServer.src/M000030.html');return false;">
204
204
  <span class="method-name">process_client</span><span class="method-args">(client)</span>
205
205
  </a>
206
206
  </div>
@@ -217,12 +217,12 @@ crack at it.
217
217
  </div>
218
218
  </div>
219
219
 
220
- <div id="method-M000011" class="method-detail">
221
- <a name="M000011"></a>
220
+ <div id="method-M000032" class="method-detail">
221
+ <a name="M000032"></a>
222
222
 
223
223
  <div class="method-heading">
224
- <a href="HttpServer.src/M000011.html" target="Code" class="method-signature"
225
- onclick="popupCode('HttpServer.src/M000011.html');return false;">
224
+ <a href="HttpServer.src/M000032.html" target="Code" class="method-signature"
225
+ onclick="popupCode('HttpServer.src/M000032.html');return false;">
226
226
  <span class="method-name">register</span><span class="method-args">(uri, handler)</span>
227
227
  </a>
228
228
  </div>
@@ -233,18 +233,18 @@ Simply registers a handler with the internal <a
233
233
  href="URIClassifier.html">URIClassifier</a>. When the URI is found in the
234
234
  prefix of a request then your handler&#8217;s HttpHandler::process method
235
235
  is called. See <a
236
- href="URIClassifier.html#M000026">Mongrel::URIClassifier#register</a> for
236
+ href="URIClassifier.html#M000048">Mongrel::URIClassifier#register</a> for
237
237
  more information.
238
238
  </p>
239
239
  </div>
240
240
  </div>
241
241
 
242
- <div id="method-M000010" class="method-detail">
243
- <a name="M000010"></a>
242
+ <div id="method-M000031" class="method-detail">
243
+ <a name="M000031"></a>
244
244
 
245
245
  <div class="method-heading">
246
- <a href="HttpServer.src/M000010.html" target="Code" class="method-signature"
247
- onclick="popupCode('HttpServer.src/M000010.html');return false;">
246
+ <a href="HttpServer.src/M000031.html" target="Code" class="method-signature"
247
+ onclick="popupCode('HttpServer.src/M000031.html');return false;">
248
248
  <span class="method-name">run</span><span class="method-args">()</span>
249
249
  </a>
250
250
  </div>
@@ -258,12 +258,12 @@ later.
258
258
  </div>
259
259
  </div>
260
260
 
261
- <div id="method-M000013" class="method-detail">
262
- <a name="M000013"></a>
261
+ <div id="method-M000034" class="method-detail">
262
+ <a name="M000034"></a>
263
263
 
264
264
  <div class="method-heading">
265
- <a href="HttpServer.src/M000013.html" target="Code" class="method-signature"
266
- onclick="popupCode('HttpServer.src/M000013.html');return false;">
265
+ <a href="HttpServer.src/M000034.html" target="Code" class="method-signature"
266
+ onclick="popupCode('HttpServer.src/M000034.html');return false;">
267
267
  <span class="method-name">stop</span><span class="method-args">()</span>
268
268
  </a>
269
269
  </div>
@@ -276,12 +276,12 @@ the request queue before finally exiting.
276
276
  </div>
277
277
  </div>
278
278
 
279
- <div id="method-M000012" class="method-detail">
280
- <a name="M000012"></a>
279
+ <div id="method-M000033" class="method-detail">
280
+ <a name="M000033"></a>
281
281
 
282
282
  <div class="method-heading">
283
- <a href="HttpServer.src/M000012.html" target="Code" class="method-signature"
284
- onclick="popupCode('HttpServer.src/M000012.html');return false;">
283
+ <a href="HttpServer.src/M000033.html" target="Code" class="method-signature"
284
+ onclick="popupCode('HttpServer.src/M000033.html');return false;">
285
285
  <span class="method-name">unregister</span><span class="method-args">(uri)</span>
286
286
  </a>
287
287
  </div>
@@ -289,7 +289,7 @@ the request queue before finally exiting.
289
289
  <div class="method-description">
290
290
  <p>
291
291
  Removes any handler registered at the given URI. See <a
292
- href="URIClassifier.html#M000027">Mongrel::URIClassifier#unregister</a> for
292
+ href="URIClassifier.html#M000049">Mongrel::URIClassifier#unregister</a> for
293
293
  more information.
294
294
  </p>
295
295
  </div>