Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/EndPoint.java @ 1048:2b769da7f67d
remove Buffer
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 07 Nov 2016 23:15:42 -0700 |
parents | bdb6eb0fbf93 |
children | ebb0f1343ef6 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/EndPoint.java Mon Nov 07 22:51:09 2016 -0700 +++ b/src/org/eclipse/jetty/io/EndPoint.java Mon Nov 07 23:15:42 2016 -0700 @@ -55,7 +55,7 @@ * filled or -1 if EOF is reached. * @throws EofException If input is shutdown or the endpoint is closed. */ - int fill(Buffer buffer) throws IOException; + int fill(JBuffer buffer) throws IOException; /** @@ -68,7 +68,7 @@ * @return the number of bytes written * @throws EofException If the endpoint is closed or output is shutdown. */ - int flush(Buffer buffer) throws IOException; + int flush(JBuffer buffer) throws IOException; /** * Flush the buffer from the current getIndex to it's putIndex using whatever byte @@ -83,7 +83,7 @@ * @param trailer A buffer to write after flushing this buffer. This buffers getIndex is updated. * @return the total number of bytes written. */ - int flush(Buffer header, Buffer buffer, Buffer trailer) throws IOException; + int flush(JBuffer header, JBuffer buffer, JBuffer trailer) throws IOException; /* ------------------------------------------------------------ */