@Test public void testThatOutputBufferCanBeMadeNotReadOnly() { final TransportOutput _transportOutput = new TransportOutputAdaptor(_transportOutputWriter, 1024, false); assertFalse(_transportOutput.head().isReadOnly()); }
@Override public ByteBuffer head() { pending(); return _head != null ? _head : _emptyHead; }
TransportOutputAdaptor implements TransportOutput { @Override public ByteBuffer head() { pending(); return _head != null ? _head : _emptyHead; } }
TransportOutputAdaptor implements TransportOutput { @Override public ByteBuffer head() { pending(); return _head != null ? _head : _emptyHead; } TransportOutputAdaptor(TransportOutputWriter transportOutputWriter, int maxFrameSize, boolean readOnlyHead); }
TransportOutputAdaptor implements TransportOutput { @Override public ByteBuffer head() { pending(); return _head != null ? _head : _emptyHead; } TransportOutputAdaptor(TransportOutputWriter transportOutputWriter, int maxFrameSize, boolean readOnlyHead); @Override int pending(); @Override ByteBuffer head(); @Override void pop(int bytes); @Override void close_head(); }
TransportOutputAdaptor implements TransportOutput { @Override public ByteBuffer head() { pending(); return _head != null ? _head : _emptyHead; } TransportOutputAdaptor(TransportOutputWriter transportOutputWriter, int maxFrameSize, boolean readOnlyHead); @Override int pending(); @Override ByteBuffer head(); @Override void pop(int bytes); @Override void close_head();  }