Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java @ 1048:2b769da7f67d
remove Buffer
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 07 Nov 2016 23:15:42 -0700 |
parents | 0e96ce3db20a |
children | ebb0f1343ef6 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java Mon Nov 07 22:51:09 2016 -0700 +++ b/src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java Mon Nov 07 23:15:42 2016 -0700 @@ -30,7 +30,7 @@ import java.util.concurrent.RejectedExecutionException; import org.eclipse.jetty.http.HttpException; -import org.eclipse.jetty.io.Buffer; +import org.eclipse.jetty.io.JBuffer; import org.eclipse.jetty.io.EndPoint; import org.eclipse.jetty.io.EofException; import org.eclipse.jetty.io.nio.ChannelEndPoint; @@ -171,21 +171,21 @@ } @Override - public int fill(Buffer buffer) throws IOException + public int fill(JBuffer buffer) throws IOException { _idleTimestamp = System.currentTimeMillis(); return super.fill(buffer); } @Override - public int flush(Buffer buffer) throws IOException + public int flush(JBuffer buffer) throws IOException { _idleTimestamp = System.currentTimeMillis(); return super.flush(buffer); } @Override - public int flush(Buffer header, Buffer buffer, Buffer trailer) throws IOException + public int flush(JBuffer header, JBuffer buffer, JBuffer trailer) throws IOException { _idleTimestamp = System.currentTimeMillis(); return super.flush(header,buffer,trailer);