Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/HttpOutput.java @ 982:dbecd7faa1f5
remove Generator
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 16 Oct 2016 21:40:27 -0600 |
parents | 5ee36654b383 |
children | 23ec25435b8c |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/HttpOutput.java Sun Oct 16 21:10:25 2016 -0600 +++ b/src/org/eclipse/jetty/server/HttpOutput.java Sun Oct 16 21:40:27 2016 -0600 @@ -24,7 +24,7 @@ import javax.servlet.ServletOutputStream; import org.eclipse.jetty.http.AbstractGenerator; -import org.eclipse.jetty.http.Generator; +import org.eclipse.jetty.http.HttpGenerator; import org.eclipse.jetty.io.Buffer; import org.eclipse.jetty.io.ByteArrayBuffer; import org.eclipse.jetty.io.EofException; @@ -152,7 +152,7 @@ } // Add the _content - _generator.addContent(buffer, Generator.MORE); + _generator.addContent(buffer, HttpGenerator.MORE); // Have to flush and complete headers? @@ -162,7 +162,7 @@ close(); } else if (_generator.isBufferFull()) - _connection.commitResponse(Generator.MORE); + _connection.commitResponse(HttpGenerator.MORE); // Block until our buffer is free while (buffer.length() > 0 && _generator.isOpen())