@Test public void goAwayHighestErrorCodeNoAdditionalData() { ByteBuffer buffer = ByteBuffer.wrap(TestMessages.GOAWAY_NO_DATA_HIGHEST_ERROR_CODE_BUFFER); Http2GoAwayFrame frame = (Http2GoAwayFrame) decoder.decode(buffer, context); assertNotNull(frame); assertEquals(8, frame.getLength()); assertEquals(7, frame.getType()); assertEquals(0, frame.getFlags()); assertEquals(1, frame.getStreamID()); assertEquals(0x7FFFFFFF, frame.getLastStreamID()); assertEquals(0x00FFFFFFFFL, frame.getErrorCode()); }
@Override public Http2Frame decode(ByteBuffer input, Http2Connection context) { return context.decode(input); }
Http2ProtocolDecoder implements ProtocolDecoder<ByteBuffer, Http2Frame, Http2Connection> { @Override public Http2Frame decode(ByteBuffer input, Http2Connection context) { return context.decode(input); } }
Http2ProtocolDecoder implements ProtocolDecoder<ByteBuffer, Http2Frame, Http2Connection> { @Override public Http2Frame decode(ByteBuffer input, Http2Connection context) { return context.decode(input); }  }
Http2ProtocolDecoder implements ProtocolDecoder<ByteBuffer, Http2Frame, Http2Connection> { @Override public Http2Frame decode(ByteBuffer input, Http2Connection context) { return context.decode(input); }  @Override Http2Connection createDecoderState(); @Override Http2Frame decode(ByteBuffer input, Http2Connection context); @Override void finishDecode(Http2Connection context); }
Http2ProtocolDecoder implements ProtocolDecoder<ByteBuffer, Http2Frame, Http2Connection> { @Override public Http2Frame decode(ByteBuffer input, Http2Connection context) { return context.decode(input); }  @Override Http2Connection createDecoderState(); @Override Http2Frame decode(ByteBuffer input, Http2Connection context); @Override void finishDecode(Http2Connection context);  }