creates an http2-settings header with the given payload . the payload buffer is released . concode_field_sep Http2FrameReader frameReader concode_elem_sep List<String> REQUIRED_UPGRADE_HEADERS concode_elem_sep Http2ConnectionHandler connectionHandler concode_elem_sep String handlerName concode_field_sep Http2Settings decodeSettingsHeader concode_elem_sep String protocol concode_elem_sep Collection<String> requiredUpgradeHeaders concode_elem_sep void prepareUpgradeResponse concode_elem_sep Http2Settings decodeSettings concode_elem_sep void upgradeTo
ByteBuf function ( ChannelHandlerContext arg0 , ByteBuf arg1 ) { ByteBuf loc0 = arg0 . alloc ( ) . buffer ( FRAME_HEADER_LENGTH + arg1 . readableBytes ( ) ) ; writeFrameHeader ( loc0 , arg1 . readableBytes ( ) , SETTINGS , new Http2Flags ( ) , 0 ) ; loc0 . writeBytes ( arg1 ) ; arg1 . release ( ) ; return loc0 ; }