@Test public void decodeNoPaddingNoPriority() { Http2Connection connection = new Http2Connection(); ByteBuffer buffer = ByteBuffer.wrap(TestMessages.HEADERS_NO_PADDING_NO_PRIORITY_BUFFER); Http2HeadersFrame frame = (Http2HeadersFrame) connection.decode(buffer); assertNotNull(frame); assertEquals(1, frame.getLength()); assertEquals(1, frame.getType()); assertEquals(0, frame.getFlags()); assertEquals(1, frame.getStreamID()); assertEquals(1, frame.getHeaderBlockFragment().length); assertEquals(0x0082, frame.getHeaderBlockFragment()[0] & 0x00FF); }
public byte[] getHeaderBlockFragment() { return headerBlockFragment; }
Http2HeadersFrame extends Http2Frame { public byte[] getHeaderBlockFragment() { return headerBlockFragment; } }
Http2HeadersFrame extends Http2Frame { public byte[] getHeaderBlockFragment() { return headerBlockFragment; } protected  Http2HeadersFrame(Http2HeadersFrameBuilder builder); }
Http2HeadersFrame extends Http2Frame { public byte[] getHeaderBlockFragment() { return headerBlockFragment; } protected  Http2HeadersFrame(Http2HeadersFrameBuilder builder); byte[] getPadding(); int getStreamDependencyID(); boolean getExclusiveMode(); short getWeight(); byte[] getHeaderBlockFragment(); @Override void writePayload(ByteBuffer buffer); }
Http2HeadersFrame extends Http2Frame { public byte[] getHeaderBlockFragment() { return headerBlockFragment; } protected  Http2HeadersFrame(Http2HeadersFrameBuilder builder); byte[] getPadding(); int getStreamDependencyID(); boolean getExclusiveMode(); short getWeight(); byte[] getHeaderBlockFragment(); @Override void writePayload(ByteBuffer buffer);  }