Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/Buffers.java @ 1006:58a9c4a42292
simplify Buffers code
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Sun, 23 Oct 2016 17:21:20 -0600 |
| parents | 3428c60d7cfc |
| children | 4e7208df7741 |
comparison
equal
deleted
inserted
replaced
| 1005:0e96ce3db20a | 1006:58a9c4a42292 |
|---|---|
| 26 * is supported, but these terms have no absolute meaning and must be determined by context. | 26 * is supported, but these terms have no absolute meaning and must be determined by context. |
| 27 * | 27 * |
| 28 */ | 28 */ |
| 29 public interface Buffers | 29 public interface Buffers |
| 30 { | 30 { |
| 31 enum Type { BYTE_ARRAY, DIRECT, INDIRECT } ; | 31 enum Type { DIRECT, INDIRECT } ; |
| 32 | 32 |
| 33 Buffer getHeader(); | 33 Buffer getHeader(); |
| 34 Buffer getBuffer(); | 34 Buffer getBuffer(); |
| 35 Buffer getBuffer(int size); | 35 Buffer getBuffer(int size); |
| 36 | 36 |
