@Test public void headersNoPaddingNoPriority() { Http2Frame frame = TestMessages.HEADERS_NO_PADDING_NO_PRIORITY_FRAME; assertArrayEquals(TestMessages.HEADERS_NO_PADDING_NO_PRIORITY_BUFFER, toByteArray(encoder.encode(frame, null))); }
@Override public ByteBuffer encode(Http2Frame message, Void context) { return message.toBuffer(); }
Http2ProtocolEncoder implements StatelessProtocolEncoder<Http2Frame, ByteBuffer> { @Override public ByteBuffer encode(Http2Frame message, Void context) { return message.toBuffer(); } }
Http2ProtocolEncoder implements StatelessProtocolEncoder<Http2Frame, ByteBuffer> { @Override public ByteBuffer encode(Http2Frame message, Void context) { return message.toBuffer(); }  }
Http2ProtocolEncoder implements StatelessProtocolEncoder<Http2Frame, ByteBuffer> { @Override public ByteBuffer encode(Http2Frame message, Void context) { return message.toBuffer(); }  @Override Void createEncoderState(); @Override ByteBuffer encode(Http2Frame message, Void context); }
Http2ProtocolEncoder implements StatelessProtocolEncoder<Http2Frame, ByteBuffer> { @Override public ByteBuffer encode(Http2Frame message, Void context) { return message.toBuffer(); }  @Override Void createEncoderState(); @Override ByteBuffer encode(Http2Frame message, Void context);  }