question: public static Http2Headers toNettyHttp2 ( HttpHeaders inputHeaders ) { final Http2Headers outputHeaders = new DefaultHttp2Headers ( false , inputHeaders . size ( ) ) ; outputHeaders . set ( inputHeaders ) ; outputHeaders . remove ( HttpHeaderNames . CONNECTION ) ; outputHeaders . remove ( HttpHeaderNames . TRANSFER_ENCODING ) ; outputHeaders . remove ( HttpHeaderNames . TRAILER ) ; return outputHeaders ; }
target:  Converts the specified Armeria HTTP/2 headers into Netty HTTP/2 headers.