comparison src/org/eclipse/jetty/server/Request.java @ 887:df84a1741687

make Connector reference to server explicit
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Oct 2016 23:59:56 -0600
parents 3dcc52e17535
children 39c12b2306a2
comparison
equal deleted inserted replaced
886:0d876a03ab0b 887:df84a1741687
269 maxFormKeys = _context.getContextHandler().getMaxFormKeys(); 269 maxFormKeys = _context.getContextHandler().getMaxFormKeys();
270 } 270 }
271 271
272 if (maxFormContentSize < 0) 272 if (maxFormContentSize < 0)
273 { 273 {
274 Object obj = _connection.getConnector().getServer().getAttribute("org.eclipse.jetty.server.Request.maxFormContentSize"); 274 Object obj = _connection.getConnector().server.getAttribute("org.eclipse.jetty.server.Request.maxFormContentSize");
275 if (obj == null) 275 if (obj == null)
276 maxFormContentSize = 200000; 276 maxFormContentSize = 200000;
277 else if (obj instanceof Number) 277 else if (obj instanceof Number)
278 { 278 {
279 Number size = (Number)obj; 279 Number size = (Number)obj;
285 } 285 }
286 } 286 }
287 287
288 if (maxFormKeys < 0) 288 if (maxFormKeys < 0)
289 { 289 {
290 Object obj = _connection.getConnector().getServer().getAttribute("org.eclipse.jetty.server.Request.maxFormKeys"); 290 Object obj = _connection.getConnector().server.getAttribute("org.eclipse.jetty.server.Request.maxFormKeys");
291 if (obj == null) 291 if (obj == null)
292 maxFormKeys = 1000; 292 maxFormKeys = 1000;
293 else if (obj instanceof Number) 293 else if (obj instanceof Number)
294 { 294 {
295 Number keys = (Number)obj; 295 Number keys = (Number)obj;