org.osjava.scraping
Class HttpFetcher

java.lang.Object
  extended byorg.osjava.scraping.AbstractHttpFetcher
      extended byorg.osjava.scraping.HttpFetcher
All Implemented Interfaces:
Fetcher

public class HttpFetcher
extends AbstractHttpFetcher

Fetches a piece of content for a url


Constructor Summary
HttpFetcher()
           
 
Method Summary
 int getDefaultPort()
           
protected  void startSession(java.net.URL url, int port, org.apache.commons.httpclient.HttpClient client, com.generationjava.config.Config cfg, org.osjava.oscube.container.Session session)
           
 
Methods inherited from class org.osjava.scraping.AbstractHttpFetcher
fetch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpFetcher

public HttpFetcher()
Method Detail

getDefaultPort

public int getDefaultPort()
Specified by:
getDefaultPort in class AbstractHttpFetcher

startSession

protected void startSession(java.net.URL url,
                            int port,
                            org.apache.commons.httpclient.HttpClient client,
                            com.generationjava.config.Config cfg,
                            org.osjava.oscube.container.Session session)
Specified by:
startSession in class AbstractHttpFetcher


Copyright © 2003-2005 OSJava. All Rights Reserved.