comparison src/org/eclipse/jetty/server/Request.java @ 939:8db5996c8c89

remove AsyncContinuation
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 10 Oct 2016 00:50:06 -0600
parents a088981f9cd4
children 5ee36654b383
comparison
equal deleted inserted replaced
938:a088981f9cd4 939:8db5996c8c89
139 if (request instanceof Request) 139 if (request instanceof Request)
140 return (Request)request; 140 return (Request)request;
141 141
142 return AbstractHttpConnection.getCurrentConnection().getRequest(); 142 return AbstractHttpConnection.getCurrentConnection().getRequest();
143 } 143 }
144 final AsyncContinuation _async = new AsyncContinuation();
145 private volatile Attributes _attributes; 144 private volatile Attributes _attributes;
146 private MultiMap<String> _baseParameters; 145 private MultiMap<String> _baseParameters;
147 private String _characterEncoding; 146 private String _characterEncoding;
148 protected AbstractHttpConnection _connection; 147 protected AbstractHttpConnection _connection;
149 private ContextHandler.Context _context; 148 private ContextHandler.Context _context;
1289 LOG.trace("",e); 1288 LOG.trace("",e);
1290 _reader = null; 1289 _reader = null;
1291 } 1290 }
1292 } 1291 }
1293 1292
1294 _async.recycle();
1295 _handled = false; 1293 _handled = false;
1296 if (_context != null) 1294 if (_context != null)
1297 throw new IllegalStateException("Request in context!"); 1295 throw new IllegalStateException("Request in context!");
1298 if (_attributes != null) 1296 if (_attributes != null)
1299 _attributes.clearAttributes(); 1297 _attributes.clearAttributes();