public static ReadOnlyHttp2Headers clientHeaders ( boolean validateHeaders , AsciiString method , AsciiString path , AsciiString scheme , AsciiString authority , AsciiString ... otherHeaders ) { return new ReadOnlyHttp2Headers ( validateHeaders , new AsciiString [ ] { PseudoHeaderName . METHOD . value ( ) , method , PseudoHeaderName . PATH . value ( ) , path , PseudoHeaderName . SCHEME . value ( ) , scheme , PseudoHeaderName . AUTHORITY . value ( ) , authority } , otherHeaders ) ; }
Create a new read only representation of headers used by clients .