{"id":35,"date":"2005-10-26T17:11:32","date_gmt":"2005-10-26T22:11:32","guid":{"rendered":"http:\/\/wp.javatechniques.com\/blog\/2005\/10\/26\/compressing-socket-data\/"},"modified":"2007-03-18T17:50:56","modified_gmt":"2007-03-18T22:50:56","slug":"compressing-socket-data","status":"publish","type":"post","link":"http:\/\/javatechniques.com\/blog\/2005\/10\/26\/compressing-socket-data\/","title":{"rendered":"Compressing Socket Data"},"content":{"rendered":"<p>The <code>java.util.zip<\/code> package includes classes for compressing and decompressing data using the ZLIB algorithms. The stream classes in the package are well-suited for accessing files and other bounded data, but do not work as well for compressing unbounded, continuous data transmitted over a socket. &#8220;<A HREF=\"http:\/\/javatechniques.com\/public\/java\/docs\/net\/compressing-socket-data.html\" onMouseOver=\"window.status='Last modified 10\/26\/05 3:44 PM by isenhour (http:\/\/javatechniques.com\/public\/java\/docs\/net\/compressing-socket-data.html)'; return true;\">Compressing data sent over a socket<\/A>&#8221; describes the underlying  issues and illustrates a pair of stream classes that can be used for compressed communication over a socket connection.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The java.util.zip package includes classes for compressing and decompressing data using the ZLIB algorithms. The stream classes in the package are well-suited for accessing files and other bounded data, but do not work as well for compressing unbounded, continuous data transmitted over a socket. &#8220;Compressing data sent over a socket&#8221; describes the underlying issues and &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/javatechniques.com\/blog\/2005\/10\/26\/compressing-socket-data\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Compressing Socket Data&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-optimization","entry"],"_links":{"self":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":0,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"wp:attachment":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}