{"id":277,"date":"2003-02-17T21:12:29","date_gmt":"2003-02-18T01:12:29","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=277"},"modified":"2003-02-17T21:12:29","modified_gmt":"2003-02-18T01:12:29","slug":"jakarta-httpclient","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2003\/02\/17\/jakarta-httpclient\/","title":{"rendered":"Jakarta HTTPClient"},"content":{"rendered":"<p>I&#8217;m going through the Jakarta <a href=\"http:\/\/jakarta.apache.org\/commons\/httpclient\/\">HTTPClient<\/a> package (used in <a href=\"http:\/\/jakarta.apache.org\/lucene\/docs\/lucene-sandbox\/larm\/overview.html\">LARM<\/a> to retrieve web pages) and I don&#8217;t understand what function the <a href=\"http:\/\/jakarta.apache.org\/commons\/httpclient\/apidocs\/org\/apache\/commons\/httpclient\/HostConfiguration.html\">HostConfiguration<\/a> class performs.  <\/p>\n<p>a) It looks like it&#8217;s just a wrapper for a <a href=\"http:\/\/jakarta.apache.org\/commons\/httpclient\/apidocs\/org\/apache\/commons\/httpclient\/URI.html\">URI<\/a> that adds proxy server information (so that when the <a href=\"http:\/\/jakarta.apache.org\/commons\/httpclient\/apidocs\/org\/apache\/commons\/httpclient\/HttpConnection.html\">HttpConnection<\/a> class calls a URI, the HostConfiguration class adds the proxy information to the request).  That seem right?  <\/p>\n<p>b) What&#8217;s up with the developer not providing a lick of documentation for HostConfiguration? Normal? Oversight?  Unnecessary? \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m going through the Jakarta HTTPClient package (used in LARM to retrieve web pages) and I don&#8217;t understand what function the HostConfiguration class performs. a) It looks like it&#8217;s just a wrapper for a URI that adds proxy server information (so that when the HttpConnection class calls a URI, the HostConfiguration class adds the proxy &hellip; <a href=\"https:\/\/cephas.net\/blog\/2003\/02\/17\/jakarta-httpclient\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Jakarta HTTPClient<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/277"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=277"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/277\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}