{"id":56097,"library":"http2-hpack","title":"Jetty HTTP/2 HPACK","description":"Jetty HTTP/2 HPACK provides HPACK (RFC 7541) header compression and decompression for HTTP/2.","status":"active","version":"11.0.26","language":"java","source_language":null,"source_url":"https://github.com/jetty/jetty.project","tags":["jetty","http2","hpack","compression"],"install":[{"cmd":"<dependency>\n  <groupId>org.eclipse.jetty.http2</groupId>\n  <artifactId>http2-hpack</artifactId>\n  <version>11.0.26</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.eclipse.jetty.http2:http2-hpack:11.0.26'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"HpackEncoder","correct":"org.eclipse.jetty.http2.hpack.HpackEncoder"}],"quickstart":{"code":"import org.eclipse.jetty.http2.hpack.HpackEncoder;\nimport org.eclipse.jetty.http.MetaData;\n\nHpackEncoder encoder = new HpackEncoder(4096);\nMetaData.Request request = new MetaData.Request(\"GET\", new HttpURI(\"/\"), HttpVersion.HTTP_2, new HttpFields());\nByteBuffer buffer = ByteBuffer.allocate(1024);\nencoder.encode(buffer, request);","lang":"java","description":"Minimal example showing how to use HpackEncoder to encode HTTP/2 headers."},"warnings":[],"env_vars":null,"search_vec":"'7541':10 'compress':12,20 'decompress':14 'header':11 'hpack':3,6,8,19 'http/2':2,5,16 'http2':18 'jetti':1,4,17 'provid':7 'rfc':9","created_at":"2026-06-15T10:20:31.365410+00:00","updated_at":"2026-06-15T10:20:31.365410+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://jetty.org","github":"https://github.com/jetty/jetty.project","docs":"https://appdoc.app/artifact/org.eclipse.jetty.http2/http2-hpack/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}