@Test public void testOutputEncodesOnePacket() { _underlyingOutput.setOutput("a_"); ByteBuffer outputBuffer = _sslWrapper.head(); assertByteBufferContentEquals("<-A->".getBytes(StandardCharsets.UTF_8), outputBuffer); }
@Override public ByteBuffer head() { pending(); return _head; }
SimpleSslTransportWrapper implements SslTransportWrapper { @Override public ByteBuffer head() { pending(); return _head; } }
SimpleSslTransportWrapper implements SslTransportWrapper { @Override public ByteBuffer head() { pending(); return _head; } SimpleSslTransportWrapper(ProtonSslEngine sslEngine, TransportInput underlyingInput, TransportOutput underlyingOutput); }
SimpleSslTransportWrapper implements SslTransportWrapper { @Override public ByteBuffer head() { pending(); return _head; } SimpleSslTransportWrapper(ProtonSslEngine sslEngine, TransportInput underlyingInput, TransportOutput underlyingOutput); @Override String getCipherName(); @Override String getProtocolName(); @Override int capacity(); @Override int position(); @Override ByteBuffer tail(); @Override void process(); @Override void close_tail(); @Override int pending(); @Override ByteBuffer head(); @Override void pop(int bytes); @Override void close_head(); @Override String toString(); }
SimpleSslTransportWrapper implements SslTransportWrapper { @Override public ByteBuffer head() { pending(); return _head; } SimpleSslTransportWrapper(ProtonSslEngine sslEngine, TransportInput underlyingInput, TransportOutput underlyingOutput); @Override String getCipherName(); @Override String getProtocolName(); @Override int capacity(); @Override int position(); @Override ByteBuffer tail(); @Override void process(); @Override void close_tail(); @Override int pending(); @Override ByteBuffer head(); @Override void pop(int bytes); @Override void close_head(); @Override String toString();  }