_parser.reset(true);  _generator.setResponse(400, null); _responseFields.put(HttpHeaders.CONNECTION_BUFFER, HttpHeaderValues.CLOSE_BUFFER); _generator.complete(); return;
throw new HttpException(400,null,e);
        public void startRequest(Buffer method, Buffer uri, Buffer version) throws IOException        {            _host = false;            _expect = UNKNOWN;            _connection = UNKNOWN;            _delayedHandling=false;            _request.setTimeStamp(System.currentTimeMillis());            _request.setMethod(method.toString());            try            {                _uri.parse(uri.array(), uri.getIndex(), uri.length());                _request.setUri(_uri);                _version = version == null ? HttpVersions.HTTP_0_9_ORDINAL : HttpVersions.CACHE.getOrdinal(version);                if (_version <= 0) _version = HttpVersions.HTTP_1_0_ORDINAL;                _request.setProtocol(version.toString());                _head = method == HttpMethods.HEAD_BUFFER; // depends on method being decahced.            }            catch (Exception e)            {                _parser.reset(true);                 // TODO prebuilt response                _generator.setResponse(400, null);                _responseFields.put(HttpHeaders.CONNECTION_BUFFER, HttpHeaderValues.CLOSE_BUFFER);                _generator.complete();                return;            }        }